This commit is contained in:
2025-08-02 11:20:01 +03:00
parent feb351424e
commit 09feab1c42
18 changed files with 95 additions and 85 deletions

View File

@@ -8,7 +8,7 @@
</template>
<script setup lang="ts">
import { reactive } from 'vue'
import { ref } from 'vue'
import { useRouter } from 'vue-router'
import companyBlock from 'components/companyBlock.vue'
import { useCompaniesStore } from 'stores/companies'
@@ -17,7 +17,7 @@
const router = useRouter()
const companiesStore = useCompaniesStore()
const newCompany = reactive<CompanyParams>({} as CompanyParams)
const newCompany = ref<CompanyParams>({} as CompanyParams)
async function addCompany(companyData: CompanyParams) {
await companiesStore.add(companyData)

View File

@@ -13,8 +13,7 @@
style="max-width: 400px;"
>
<base-logo
class="col-grow q-pa-lg"
:style="{ alignItems: 'flex-end' }"
class="col-grow q-pa-lg text-h5"
/>
<div class="flex column w100">

View File

@@ -84,20 +84,20 @@
import pnTimeZoneSelector from 'components/pnTimeZoneSelector.vue'
const settingsStore = useSettingsStore()
const locale = ref('')
const localeBot = ref('')
const localeOptions = settingsStore.supportLocale
const locale = ref('')
watch(locale, async (newValue) => {
await settingsStore.updateSettings({ locale: newValue })
})
const localeBot = ref('')
watch(localeBot, async (newValue) => {
await settingsStore.updateSettings({ localeBot: newValue })
})
const fontSize = ref(14)
const fontSize = ref(16)
const fontSizeOptions = settingsStore.supportFontSizes
const fontSizeLabel = computed(() =>
fontSizeOptions.find(el => el.value === fontSize.value)?.label ?? ''

View File

@@ -339,8 +339,6 @@
if (!newD) unblockUserId.value = undefined
})
</script>
<style scoped>