diff --git a/themes-default/slim/views/vue-components/submenu.mako b/themes-default/slim/views/vue-components/submenu.mako index ac084dece2f..78ad12522ca 100644 --- a/themes-default/slim/views/vue-components/submenu.mako +++ b/themes-default/slim/views/vue-components/submenu.mako @@ -15,7 +15,7 @@ - + <%! @@ -28,9 +28,8 @@ const SubmenuComponent = { data() { return { // Python conversions - rawSubmenu: ${json.dumps(submenu)}, - controller: '${controller}', - action: '${action}' + // @TODO: Add the submenu definitions to VueRouter's routes object + rawSubmenu: ${json.dumps(submenu)} }; }, computed: { diff --git a/themes/dark/templates/vue-components/submenu.mako b/themes/dark/templates/vue-components/submenu.mako index ac084dece2f..78ad12522ca 100644 --- a/themes/dark/templates/vue-components/submenu.mako +++ b/themes/dark/templates/vue-components/submenu.mako @@ -15,7 +15,7 @@ - + <%! @@ -28,9 +28,8 @@ const SubmenuComponent = { data() { return { // Python conversions - rawSubmenu: ${json.dumps(submenu)}, - controller: '${controller}', - action: '${action}' + // @TODO: Add the submenu definitions to VueRouter's routes object + rawSubmenu: ${json.dumps(submenu)} }; }, computed: { diff --git a/themes/light/templates/vue-components/submenu.mako b/themes/light/templates/vue-components/submenu.mako index ac084dece2f..78ad12522ca 100644 --- a/themes/light/templates/vue-components/submenu.mako +++ b/themes/light/templates/vue-components/submenu.mako @@ -15,7 +15,7 @@ - + <%! @@ -28,9 +28,8 @@ const SubmenuComponent = { data() { return { // Python conversions - rawSubmenu: ${json.dumps(submenu)}, - controller: '${controller}', - action: '${action}' + // @TODO: Add the submenu definitions to VueRouter's routes object + rawSubmenu: ${json.dumps(submenu)} }; }, computed: {