Explorar o código

fix(EditPlaylist): songitem menu would throw an error

Kristian Vos %!s(int64=2) %!d(string=hai) anos
pai
achega
f6138099a1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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' ||