aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-05-29 19:01:39 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-05-29 19:01:39 +0200
commit00a1e136776c37d71045fc1dbb9e09b7b7fa2576 (patch)
tree8dba47b204ad8d87663b30114143a211aab39d10
parent1bbd36304ac0203a1acf636f4229dd307ef095a4 (diff)
fix: fix initial queue
-rw-r--r--src/frontend/tubo/events.cljs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/tubo/events.cljs b/src/frontend/tubo/events.cljs
index decdb23..20e350d 100644
--- a/src/frontend/tubo/events.cljs
+++ b/src/frontend/tubo/events.cljs
@@ -32,7 +32,7 @@
{:db
{:paused true
:muted (:muted store)
- :queue (:queue store)
+ :queue (if-nil (:queue store) [])
:service-id (if-nil (:service-id store) 0)
:loop-playback (if-nil (:loop-playback store) :playlist)
:queue-pos (if-nil (:queue-pos store) 0)