- if (sanitizedSort === 'hot') this.titleTooltip = $localize`Videos with the most interactions for recent videos`
- if (sanitizedSort === 'likes') this.titleTooltip = $localize`Videos that have the most likes`
- if (sanitizedSort === 'views') this.titleTooltip = undefined
+ if (sanitizedSort === 'hot') {
+ this.titleTooltip = $localize`Videos with the most interactions for recent videos`
+ return
+ }
+
+ if (sanitizedSort === 'likes') {
+ this.titleTooltip = $localize`Videos that have the most likes`
+ return
+ }
+
+ if (sanitizedSort === 'views') {
+ this.titleTooltip = undefined
+ return
+ }