Procházet zdrojové kódy

fix(EditPlaylist): songitem menu would throw an error

Kristian Vos před 2 roky
rodič
revize
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' ||