++ DebugOn status (to see what happened)

fix visu activities
This commit is contained in:
Surya Paolo
2022-12-14 22:07:23 +01:00
parent bd0eab53ae
commit fbcd076705
22 changed files with 69 additions and 33 deletions

View File

@@ -5003,6 +5003,12 @@ export const tools = {
return userStore.my.profile ? userStore.my.profile.teleg_id! > 0 : false
},
isDebugOn(): boolean {
const globalStore = useGlobalStore()
const site = globalStore.site
return (site.confpages.enableDebugOn)
},
isVerified(): boolean {
const globalStore = useGlobalStore()
const site = globalStore.site

View File

@@ -165,6 +165,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
enableRegByBot: false,
enableRegMultiChoice: false,
enabledRegNeedTelegram: false,
enableDebugOn: false,
showButtHome: false,
showViewGroups: false,
showViewCircuits: false,