aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/video-list/videos-list-common-page.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+videos/video-list/videos-list-common-page.component.ts')
-rw-r--r--client/src/app/+videos/video-list/videos-list-common-page.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+videos/video-list/videos-list-common-page.component.ts b/client/src/app/+videos/video-list/videos-list-common-page.component.ts
index 32737ef1c..72c7e1ef6 100644
--- a/client/src/app/+videos/video-list/videos-list-common-page.component.ts
+++ b/client/src/app/+videos/video-list/videos-list-common-page.component.ts
@@ -197,11 +197,12 @@ export class VideosListCommonPageComponent implements OnInit, OnDestroy, Disable
197 return 197 return
198 } 198 }
199 199
200 if ([ 'hot', 'trending', 'likes' ].includes(sanitizedSort)) { 200 if ([ 'hot', 'trending', 'likes', 'views' ].includes(sanitizedSort)) {
201 this.title = $localize`Trending` 201 this.title = $localize`Trending`
202 202
203 if (sanitizedSort === 'hot') this.titleTooltip = $localize`Videos with the most interactions for recent videos` 203 if (sanitizedSort === 'hot') this.titleTooltip = $localize`Videos with the most interactions for recent videos`
204 if (sanitizedSort === 'likes') this.titleTooltip = $localize`Videos that have the most likes` 204 if (sanitizedSort === 'likes') this.titleTooltip = $localize`Videos that have the most likes`
205 if (sanitizedSort === 'views') this.titleTooltip = undefined
205 206
206 if (sanitizedSort === 'trending') { 207 if (sanitizedSort === 'trending') {
207 if (this.trendingDays === 1) this.titleTooltip = $localize`Videos with the most views during the last 24 hours` 208 if (this.trendingDays === 1) this.titleTooltip = $localize`Videos with the most views during the last 24 hours`