diff --git a/dashboard/public/js/index.js b/dashboard/public/js/index.js index dc1878e0b..096081c5e 100644 --- a/dashboard/public/js/index.js +++ b/dashboard/public/js/index.js @@ -53,8 +53,8 @@ app.config(['$routeProvider', function ($routeProvider) { // controller: 'UserSettingsController', // templateUrl: 'views/user-directory.html?' + window.VITE_CACHE_ID }).when('/app/:appId/:view?', { - controller: 'AppController', - templateUrl: 'views/app.html?' + window.VITE_CACHE_ID + // controller: 'AppController', + // templateUrl: 'views/app.html?' + window.VITE_CACHE_ID }).when('/appstore', { // controller: 'AppStoreController', // templateUrl: 'views/appstore.html?' + window.VITE_CACHE_ID diff --git a/dashboard/src/Index.vue b/dashboard/src/Index.vue index 7f7db14ac..ade6f97c7 100644 --- a/dashboard/src/Index.vue +++ b/dashboard/src/Index.vue @@ -3,6 +3,7 @@ import { onMounted, ref } from 'vue'; import { Notification } from 'pankow'; import AppsView from './views/AppsView.vue'; +import AppConfigureView from './views/AppConfigureView.vue'; import AppstoreView from './views/AppstoreView.vue'; import BackupsView from './views/BackupsView.vue'; import BrandingView from './views/BrandingView.vue'; @@ -20,6 +21,7 @@ import VolumesView from './views/VolumesView.vue'; const VIEWS = { APPS: 'apps', + APP: 'app', APPSTORE: 'appstore', BACKUPS: 'backups', BRANDING: 'branding', @@ -45,6 +47,8 @@ function onHashChange() { view.value = VIEWS.APPS; } else if (v.indexOf(VIEWS.APPSTORE) === 0) { view.value = VIEWS.APPSTORE; + } else if (v.indexOf(VIEWS.APP) === 0) { + view.value = VIEWS.APP; } else if (v === VIEWS.BACKUPS) { view.value = VIEWS.BACKUPS; } else if (v === VIEWS.BRANDING) { @@ -96,6 +100,7 @@ onMounted(async () => { + diff --git a/dashboard/src/components/Section.vue b/dashboard/src/components/Section.vue index 7d0e91df3..2a127ccba 100644 --- a/dashboard/src/components/Section.vue +++ b/dashboard/src/components/Section.vue @@ -12,7 +12,7 @@ export default {