Skip to content
Snippets Groups Projects
Commit 57d6294a authored by Alexander Kaschta's avatar Alexander Kaschta :owl:
Browse files

ADD: More variables to settings

parent 3eb35b68
No related branches found
No related tags found
No related merge requests found
Pipeline #424095 passed with warnings
......@@ -6,5 +6,18 @@ export const useSettingsStore = defineStore('settings', () => {
function setLanguage(lang_value: string) {
language.value = lang_value
}
return { language, setLanguage }
const expertMode: Ref<boolean> = ref(false)
function setExpertMode(mode: boolean) {
expertMode.value = mode
}
const devMode: Ref<boolean> = ref(false)
function setDevMode(mode: boolean) {
devMode.value = mode
}
return { language, setLanguage, expertMode, setExpertMode, devMode, setDevMode }
}, { persist: true })
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment