diff --git a/web/src/components/Timeline.vue b/web/src/components/Timeline.vue
index 28a21b5..88bfa94 100644
--- a/web/src/components/Timeline.vue
+++ b/web/src/components/Timeline.vue
@@ -106,12 +106,10 @@ export default {
methods: {
...mapActions(['sendMail', 'postComment']),
sendMailAndClear: async function () {
- //this.$emit('sendMail', this.newMail);
await this.sendMail(this.newMail);
this.newMail = "";
},
addCommentAndClear: async function () {
- //this.$emit('addComment', this.newComment);
await this.postComment(this.newComment);
this.newComment = "";
}
diff --git a/web/src/router.js b/web/src/router.js
index 871a01c..e82611e 100644
--- a/web/src/router.js
+++ b/web/src/router.js
@@ -8,7 +8,7 @@ import Error from './views/Error';
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";
@@ -66,7 +66,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