Explorar el Código

fix: Genre playlists not editable

Owen Diffey hace 3 años
padre
commit
52121fb13a
Se han modificado 1 ficheros con 3 adiciones y 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