From b0a746e04ae211f62060cce6a7ec18a127fc97ef Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Fri, 30 Dec 2022 21:27:53 +0100 Subject: feat(frontend): Consume the right uploader keys --- src/frontend/tau/views/stream.cljs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/tau/views/stream.cljs b/src/frontend/tau/views/stream.cljs index f7c82a2..89530b9 100644 --- a/src/frontend/tau/views/stream.cljs +++ b/src/frontend/tau/views/stream.cljs @@ -13,7 +13,7 @@ [match] (let [{:keys [name url video-streams audio-streams view-count subscriber-count like-count dislike-count - description uploader-avatar uploader-author + description uploader-avatar uploader-name uploader-url upload-date related-streams thumbnail-url show-comments-loading comments-page show-comments service-id] :as stream} @(rf/subscribe [:stream]) @@ -44,15 +44,15 @@ [:i.fa-solid.fa-external-link-alt]]]] [:div.flex.flex-col.py-1.comments [:div.min-w-full.py-3 - [:h1.text-2xl.font-extrabold name]] + [:h1.text-2xl.font-extrabold.line-clamp-1 name]] [:div.flex.justify-between.py-2 [:div.flex.items-center.flex-auto (when uploader-avatar [:div.relative.w-16.h-16 - [:a {:href (rfe/href :tau.routes/channel nil {:url uploader-url}) :title uploader-author} - [:img.rounded-full.object-cover.max-w-full.min-h-full {:src uploader-avatar :alt uploader-author}]]]) + [:a {:href (rfe/href :tau.routes/channel nil {:url uploader-url}) :title uploader-name} + [:img.rounded-full.object-cover.max-w-full.min-h-full {:src uploader-avatar :alt uploader-name}]]]) [:div.mx-2 - [:a {:href (rfe/href :tau.routes/channel nil {:url uploader-url})} uploader-author] + [:a {:href (rfe/href :tau.routes/channel nil {:url uploader-url})} uploader-name] (when subscriber-count [:div.flex.my-2.items-center [:i.fa-solid.fa-users.text-xs] -- cgit v1.2.3