Przeglądaj źródła

fix(EditPlaylist): songitem menu would throw an error

Kristian Vos 2 lat temu
rodzic
commit
f6138099a1

+ 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' ||