Explorar o código

fix: Genre playlists not editable

Owen Diffey %!s(int64=3) %!d(string=hai) anos
pai
achega
52121fb13a
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      frontend/src/components/modals/EditPlaylist/index.vue

+ 3 - 1
frontend/src/components/modals/EditPlaylist/index.vue

@@ -62,7 +62,9 @@
 						v-if="
 							userId === playlist.createdBy ||
 							isEditable() ||
-							(playlist.type === 'genre' && isAdmin())
+							((playlist.type === 'genre' ||
+								playlist.type === 'artist') &&
+								isAdmin())
 						"
 					/>
 					<add-songs