浏览代码

fix: non-admin/owners could see excluded tab in playlists tab in someone else's station's ManageStation

Kristian Vos 3 年之前
父节点
当前提交
7987916814
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      frontend/src/components/modals/ManageStation/Tabs/Playlists.vue

+ 1 - 0
frontend/src/components/modals/ManageStation/Tabs/Playlists.vue

@@ -41,6 +41,7 @@
 					class="button is-default"
 					ref="excluded-tab"
 					:class="{ selected: tab === 'excluded' }"
+					v-if="isOwnerOrAdmin()"
 					@click="showTab('excluded')"
 				>
 					Excluded