This commit is contained in:
@@ -56,7 +56,7 @@ export default {
|
||||
initForm(vm)
|
||||
.then(() => {
|
||||
vm.rights = window.$gz.role.getRights(window.$gz.type.ServerState);
|
||||
vm.formState.ready = true;
|
||||
// vm.formState.ready = true;
|
||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||
vm.getDataFromApi();
|
||||
})
|
||||
@@ -144,6 +144,7 @@ export default {
|
||||
window.$gz.api
|
||||
.get(url)
|
||||
.then(res => {
|
||||
vm.formState.ready = true;
|
||||
if (res.error != undefined) {
|
||||
vm.formState.serverError = res.error;
|
||||
window.$gz.form.setErrorBoxErrors(vm);
|
||||
|
||||
Reference in New Issue
Block a user