handle huge things!
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user