Add option for admins to remove courses

This commit is contained in:
2022-11-06 18:55:21 +01:00
parent 74b61de983
commit 860e50831d
4 changed files with 71 additions and 2 deletions

View File

@@ -1,5 +1,10 @@
<template>
<v-container fluid>
<v-row v-if="$store.getters.isAdmin">
<v-col cols="12">
<RemoveCourse :course-id="courseID" />
</v-col>
</v-row>
<v-row>
<v-col cols="12" sm="6">
<v-card height="100%" class="d-flex align-center pa-2">

View File

@@ -83,7 +83,6 @@ export default {
return new Date(str).toLocaleString('de-DE')
},
changeProfilePic () {
// TODO
this.$toast({ content: 'Diese Funktion ist in der Demo-Version nicht verfügbar.', color: 'info', timeout: 3000 })
},
save () {