From 53bf3d78939346db9c4d533ab16d4589503071db Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Mon, 2 Dec 2024 10:00:17 +0100 Subject: fix: fix items url links --- src/frontend/tubo/items/views.cljs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src') 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) -- cgit v1.2.3