浏览代码

fix(EditPlaylist): songitem menu would throw an error

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

+ 2 - 0
frontend/src/components/modals/EditPlaylist/index.vue

@@ -118,6 +118,8 @@
 											<i
 												class="material-icons add-to-queue-icon"
 												v-if="
+													station &&
+													station.requests &&
 													station.requests.enabled &&
 													(station.requests.access ===
 														'user' ||