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">