This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-card class="mx-auto">
|
<v-card class="mx-auto" v-if="formState.ready">
|
||||||
<v-list subheader>
|
<v-list subheader>
|
||||||
<v-subheader>{{ t("UserInterfaceSettings") }}</v-subheader>
|
<v-subheader>{{ t("UserInterfaceSettings") }}</v-subheader>
|
||||||
<v-list-item link to="adm-global-select-templates">
|
<v-list-item link to="adm-global-select-templates">
|
||||||
@@ -26,7 +26,7 @@ export default {
|
|||||||
initForm(vm)
|
initForm(vm)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
vm.rights = window.$gz.role.getRights(window.$gz.type.UserOptions);
|
vm.rights = window.$gz.role.getRights(window.$gz.type.UserOptions);
|
||||||
// vm.formState.ready = true;
|
vm.formState.ready = true;
|
||||||
// window.$gz.eventBus.$on("menu-click", clickHandler);
|
// window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||||
// //UserOptions never creates a new one so this code is a little different than other forms
|
// //UserOptions never creates a new one so this code is a little different than other forms
|
||||||
// //NOTE: FOR NOW GOING TO ASSUME THIS FORM WILL ONLY EVER BE USED TO EDIT *CURRENT* USER'S USEROPTIONS
|
// //NOTE: FOR NOW GOING TO ASSUME THIS FORM WILL ONLY EVER BE USED TO EDIT *CURRENT* USER'S USEROPTIONS
|
||||||
@@ -44,6 +44,16 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
formState: {
|
||||||
|
ready: false,
|
||||||
|
dirty: false,
|
||||||
|
valid: true,
|
||||||
|
readOnly: false,
|
||||||
|
loading: true,
|
||||||
|
errorBoxMessage: null,
|
||||||
|
appError: null,
|
||||||
|
serverError: {}
|
||||||
|
},
|
||||||
rights: window.$gz.role.defaultRightsObject()
|
rights: window.$gz.role.defaultRightsObject()
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user