浏览代码

fix: Genre playlists not editable

Owen Diffey 3 年之前
父节点
当前提交
52121fb13a
共有 1 个文件被更改,包括 3 次插入1 次删除
  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