This commit is contained in:
@@ -113,7 +113,7 @@ export default {
|
||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||
//NOTE: this would normally be in getDataFromAPI but this form doesn't really need that function so doing it here
|
||||
//modify the menu as necessary
|
||||
generateMenu(this, false); //default is never read only and passing in this vm
|
||||
generateMenu(vm, false); //default is never read only and passing in this vm
|
||||
//init disable save button so it can be enabled only on edit to show dirty form
|
||||
window.$gz.eventBus.$emit("menu-disable-item", FORM_KEY + ":save");
|
||||
})
|
||||
@@ -143,8 +143,7 @@ export default {
|
||||
appError: undefined,
|
||||
serverError: {}
|
||||
},
|
||||
rights: window.$gz.role.getRights(window.$gz.type.DataListView)
|
||||
//,tempTemplate: window.$gz.store.state.formCustomTemplate["widget"]
|
||||
rights: window.$gz.role.getRights(window.$gz.type.DataListView)
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user