diff --git a/ayanova/src/api/gzmenu.js b/ayanova/src/api/gzmenu.js
index 9b74bc78..94036efd 100644
--- a/ayanova/src/api/gzmenu.js
+++ b/ayanova/src/api/gzmenu.js
@@ -80,7 +80,7 @@ export default {
vm.appBar.menuItems.push({
title: window.$gz.locale.get("Customize"),
icon: "sliders-h",
- data: ctx.formData.ayaType,
+ data: ctx.formData.formCustomTemplateKey,
key: "app:customize"
});
}
@@ -151,7 +151,7 @@ export default {
case "customize":
vm.$router.push({
name: "customize",
- params: { ayatype: item.data }
+ params: { formCustomTemplateKey: item.data }
});
break;
case "nav":
diff --git a/ayanova/src/router.js b/ayanova/src/router.js
index b64c7159..f0c65083 100644
--- a/ayanova/src/router.js
+++ b/ayanova/src/router.js
@@ -135,13 +135,17 @@ export default new Router({
path: "/inventory/widget/edit/:id",
name: "inventory-widget-edit",
component: () =>
- import(/* webpackChunkName: "inventory-widget-edit" */ "./views/inventory-widget-edit.vue")
+ import(
+ /* webpackChunkName: "inventory-widget-edit" */ "./views/inventory-widget-edit.vue"
+ )
},
{
- path: "/customize/:ayatype",
+ path: "/customize/:formCustomTemplateKey",
name: "customize",
component: () =>
- import(/* webpackChunkName: "inventory-widget-edit" */ "./views/customize.vue")
+ import(
+ /* webpackChunkName: "inventory-widget-edit" */ "./views/customize.vue"
+ )
},
{
path: "*",
diff --git a/ayanova/src/views/customize.vue b/ayanova/src/views/customize.vue
index 9e9c72a7..2350842f 100644
--- a/ayanova/src/views/customize.vue
+++ b/ayanova/src/views/customize.vue
@@ -1,14 +1,15 @@
-
+ CUSTOMIZE: {{ formCustomTemplateKey }}