Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix trending sort label

Chocobozzz9b56fcb50094
diff --git a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html
index 685a9f12fb..bd71d21852 100644
--- a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html
+++ b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html
@@ -59,9 +59,13 @@
@if (isTrendingSortEnabled('most-viewed')) {
<ng-option i18n value="-trending">Sort by <strong>"Recent Views"</strong></ng-option>
- } @else if (isTrendingSortEnabled('hot')) {
+ }
+
+ @if (isTrendingSortEnabled('hot')) {
<ng-option i18n value="-hot">Sort by <strong>"Hot"</strong></ng-option>
- } @else if (isTrendingSortEnabled('most-liked')) {
+ }
+
+ @if (isTrendingSortEnabled('most-liked')) {
<ng-option i18n value="-likes">Sort by <strong>"Likes"</strong></ng-option>
}