aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frontend/tubo/items/views.cljs12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/frontend/tubo/items/views.cljs b/src/frontend/tubo/items/views.cljs
index 5cc299b..ad74e71 100644
--- a/src/frontend/tubo/items/views.cljs
+++ b/src/frontend/tubo/items/views.cljs
@@ -167,9 +167,15 @@
pagination-loading? @(rf/subscribe [:show-pagination-loading])
bookmarks @(rf/subscribe [:bookmarks])
item-url #(case (:type %)
- "stream" (rfe/href :stream-page nil {:url %})
- "channel" (rfe/href :channel-page nil {:url %})
- "playlist" (rfe/href :playlist-page nil {:url %})
+ "stream" (rfe/href :stream-page
+ nil
+ {:url (:url %)})
+ "channel" (rfe/href :channel-page
+ nil
+ {:url (:url %)})
+ "playlist" (rfe/href :playlist-page
+ nil
+ {:url (:url %)})
(:url %))]
[:div.flex.flex-col.flex-auto.my-2.md:my-8
(if (empty? related-streams)