Skip to content

Commit 12abe1f

Browse files
committed
remove orphaned canEdit prop,
the canEdit prop is no longer needed since the canUpload prop and associated permission checks in the Perm class already determine whether a user has edit rights.
1 parent 2f6d8c5 commit 12abe1f

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

vueapp/components/Playlists/PlaylistAddVideos.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ export default {
6868
},
6969
7070
props: {
71-
canEdit: {
72-
type: Boolean,
73-
default: true,
74-
},
7571
canUpload: {
7672
type: Boolean,
7773
default: true,

vueapp/views/Course.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
/>
2020

2121
<PlaylistAddVideos v-if="showPlaylistAddVideosDialog"
22-
:canEdit="canEdit"
2322
:canUpload="canUpload"
2423
@done="closePlaylistAddVideosDialog"
2524
@cancel="closePlaylistAddVideosDialog"

0 commit comments

Comments
 (0)