From 00a1e136776c37d71045fc1dbb9e09b7b7fa2576 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Wed, 29 May 2024 19:01:39 +0200 Subject: fix: fix initial queue --- src/frontend/tubo/events.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3