This commit is contained in:
@@ -102,6 +102,10 @@ export default {
|
||||
},
|
||||
created() {
|
||||
var vm = this;
|
||||
|
||||
//set route values in data object so init form can handle
|
||||
vm.dataListKey = this.$route.params.dataListKey;
|
||||
vm.listViewId = this.$route.params.listViewId;
|
||||
// //rehydrate last form settings
|
||||
// var formSettings = window.$gz.form.getFormSettings(this.formKey);
|
||||
|
||||
@@ -116,8 +120,7 @@ export default {
|
||||
.then(() => {
|
||||
// path: "/ay-data-list-view/:listViewId/:dataListKey",
|
||||
vm.formState.ready = true;
|
||||
vm.dataListKey = this.$route.params.dataListKey;
|
||||
vm.listViewId = this.$route.params.listViewId;
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user