Browse Source

fix: Genre playlists not editable

Owen Diffey 3 years ago
parent
commit
52121fb13a
1 changed files with 3 additions and 1 deletions
  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