Site Configuration by Server Params (confsites and confpages)
This commit is contained in:
@@ -19,11 +19,14 @@ export default defineComponent({
|
||||
const globalStore = useGlobalStore()
|
||||
const { t } = useI18n()
|
||||
|
||||
const site = ref(globalStore.site)
|
||||
|
||||
return {
|
||||
userStore,
|
||||
tools,
|
||||
costanti,
|
||||
static_data,
|
||||
site,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="!tools.isLogged() && static_data.functionality.ENABLE_REGISTRATION && static_data.functionality.SHOW_REG_BUTTON"
|
||||
v-if="!tools.isLogged() && site.confpages.enableReg && site.confpages.showRegButton"
|
||||
style="margin:20px; text-align: center;">
|
||||
|
||||
<q-btn rounded size="lg" color="primary" @click="tools.openrighttoolbar()">{{ $t('login.enter') }}
|
||||
|
||||
Reference in New Issue
Block a user