Add option for admins to remove courses
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user