handle huge things!

This commit is contained in:
2026-06-03 22:04:45 +03:30
parent 198f0a164b
commit f82a0c3873
29 changed files with 778 additions and 445 deletions
+4 -4
View File
@@ -255,6 +255,7 @@ import { loginCustomer, verifyToken } from '@/api/login'
import router from '@/router'
import { useUserStore } from '@/store/userStore'
import { useWalletStore } from '@/store/walletStore'
import { useSettingsStore } from '@/store/settingsStore'
import { fingerPosition, setTruth } from '@/main'
import {useConfigStore} from "@/store/configStore";
import {getConfigApp, getProjectLoginLogo, getProjectLoginTaglineLines, isBoursecuProject} from "@/utils/config";
@@ -420,10 +421,9 @@ async function installWebApp() {
}
const isRegister = ref()
async function isOpenRegister() {
const settings = await getSettings()
if (settings && Array.isArray(settings)) {
isRegister.value = settings.find(s => s?.key === 'open_register' && s?.is_active === true)
}
const settingsStore = useSettingsStore()
await settingsStore.fetchSettings()
isRegister.value = settingsStore.settings.find(s => s?.key === 'open_register' && s?.is_active === true)
}
async function proceedWithInstall() {