Compare commits

..

15 commits

Author SHA1 Message Date
155be1bee7 stash 2024-11-03 21:41:46 +01:00
305d1622fb add dev docker 2024-11-03 21:41:46 +01:00
3fd417c954 stash events admin frontend 2024-11-03 21:41:46 +01:00
b24844831c stash 2024-11-03 21:41:46 +01:00
1c9afb6bad stash 2024-11-03 21:41:46 +01:00
af00daca51 stash 2024-11-03 21:41:46 +01:00
884c621fbf stash 2024-11-03 21:41:46 +01:00
d7b814cfc0 stash 2024-11-03 21:41:46 +01:00
8f6041ffa5 stash 2024-11-03 21:41:46 +01:00
01f235439b stash 2024-11-03 21:41:46 +01:00
105f360550 stash 2024-11-03 21:41:43 +01:00
381061a2fd stash 2024-11-03 21:40:38 +01:00
b6d1422a77 stash 2024-11-03 21:40:38 +01:00
bc074ffb3f stash 2024-11-03 21:40:38 +01:00
2036c0a65d stash 2024-11-03 21:40:38 +01:00
3 changed files with 4 additions and 35 deletions

View file

@ -106,10 +106,12 @@ 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 = "";
}

View file

@ -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 Dashboard from "@/views/admin/Dashboard.vue";
import Debug from "@/views/admin/Debug.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: Dashboard, meta:
path: '', name: 'admin', component: Debug, meta:
{requiresAuth: true, requiresPermission: 'delete_event'}
},
{

View file

@ -1,33 +0,0 @@
<template>
<div>
<h3 class="text-center">Events</h3>
<ul>
<li v-for="event in events" :key="event.id">
{{ event.slug }}
</li>
</ul>
</div>
</template>
<script>
import {mapActions, mapState} from 'vuex';
import Table from '@/components/Table';
export default {
name: 'Dashboard',
components: {},
computed: {
...mapState(['events']),
},
methods: {
...mapActions(['loadEvents']),
},
mounted() {
this.loadEvents();
}
};
</script>
<style>
</style>