diff --git a/web/src/router.js b/web/src/router.js index 7d756e8..bad2970 100644 --- a/web/src/router.js +++ b/web/src/router.js @@ -7,7 +7,7 @@ import Files from './views/Files'; import HowTo from './views/HowTo'; import Login from '@/views/Login.vue'; import Register from '@/views/Register.vue'; -import Debug from "@/views/admin/Debug.vue"; +import Dashboard from "@/views/admin/Dashboard.vue"; import Tickets from "@/views/Tickets.vue"; import Ticket from "@/views/Ticket.vue"; import Admin from "@/views/admin/Admin.vue"; @@ -59,7 +59,7 @@ const routes = [ {requiresAuth: true, requiresPermission: 'delete_event'} }, { - path: '', name: 'admin', component: Debug, meta: + path: '', name: 'admin', component: Dashboard, meta: {requiresAuth: true, requiresPermission: 'delete_event'} }, { diff --git a/web/src/views/admin/Dashboard.vue b/web/src/views/admin/Dashboard.vue new file mode 100644 index 0000000..6272d71 --- /dev/null +++ b/web/src/views/admin/Dashboard.vue @@ -0,0 +1,33 @@ + + + + + \ No newline at end of file diff --git a/web/src/views/admin/Debug.vue b/web/src/views/admin/Debug.vue deleted file mode 100644 index 1acde81..0000000 --- a/web/src/views/admin/Debug.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - - - \ No newline at end of file