diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-12-02 10:00:17 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-12-02 10:00:17 +0100 |
commit | 53bf3d78939346db9c4d533ab16d4589503071db (patch) | |
tree | 10627211a5e12b9aacac2c80d31ba70ede6ab2aa | |
parent | 50681d5d9f887bc7653d1fac4a7014a1d6623181 (diff) |
fix: fix items url links
-rw-r--r-- | src/frontend/tubo/items/views.cljs | 12 |
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) |