diff options
| author | ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> | 2023-10-17 17:49:32 -0400 |
|---|---|---|
| committer | ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> | 2023-12-07 09:39:33 -0500 |
| commit | f1edb1d6bfbc30af46f6d3fa291d6d6fd7d66819 (patch) | |
| tree | a61f9ed2b9820c69a7fa4fcee1825904439f29c8 /src | |
| parent | b5f8b4542aea3d0bb56dc682058cfdf8e666099e (diff) | |
| download | invidious-f1edb1d6bfbc30af46f6d3fa291d6d6fd7d66819.tar.gz invidious-f1edb1d6bfbc30af46f6d3fa291d6d6fd7d66819.tar.bz2 invidious-f1edb1d6bfbc30af46f6d3fa291d6d6fd7d66819.zip | |
fix related video author when id is empty
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/watch.ecr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index 07474896..1b020321 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -346,7 +346,7 @@ we're going to need to do it here in order to allow for translations. <h5 class="pure-g"> <div class="pure-u-14-24"> - <% if rv["ucid"]? %> + <% if !rv["ucid"].empty? %> <b style="width:100%"><a href="/channel/<%= rv["ucid"] %>"><%= rv["author"]? %><% if rv["author_verified"]? == "true" %> <i class="icon ion ion-md-checkmark-circle"></i><% end %></a></b> <% else %> <b style="width:100%"><%= rv["author"]? %><% if rv["author_verified"]? == "true" %> <i class="icon ion ion-md-checkmark-circle"></i><% end %></b> |
