diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+search/search.component.ts | 1 | ||||
-rw-r--r-- | client/src/app/shared/shared-video-playlist/video-playlist.model.ts | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/client/src/app/+search/search.component.ts b/client/src/app/+search/search.component.ts index fdf9b7cc0..235bbfa4c 100644 --- a/client/src/app/+search/search.component.ts +++ b/client/src/app/+search/search.component.ts | |||
@@ -43,7 +43,6 @@ export class SearchComponent implements OnInit, OnDestroy { | |||
43 | 43 | ||
44 | private subActivatedRoute: Subscription | 44 | private subActivatedRoute: Subscription |
45 | private isInitialLoad = false // set to false to show the search filters on first arrival | 45 | private isInitialLoad = false // set to false to show the search filters on first arrival |
46 | private firstSearch = true | ||
47 | 46 | ||
48 | private channelsPerPage = 2 | 47 | private channelsPerPage = 2 |
49 | private playlistsPerPage = 2 | 48 | private playlistsPerPage = 2 |
diff --git a/client/src/app/shared/shared-video-playlist/video-playlist.model.ts b/client/src/app/shared/shared-video-playlist/video-playlist.model.ts index d96b70922..55013e4c5 100644 --- a/client/src/app/shared/shared-video-playlist/video-playlist.model.ts +++ b/client/src/app/shared/shared-video-playlist/video-playlist.model.ts | |||
@@ -44,7 +44,7 @@ export class VideoPlaylist implements ServerVideoPlaylist { | |||
44 | videoChannelBy?: string | 44 | videoChannelBy?: string |
45 | 45 | ||
46 | static buildWatchUrl (playlist: Pick<VideoPlaylist, 'uuid' | 'shortUUID'>) { | 46 | static buildWatchUrl (playlist: Pick<VideoPlaylist, 'uuid' | 'shortUUID'>) { |
47 | return '/w/p/' + (playlist.uuid || playlist.shortUUID) | 47 | return '/w/p/' + (playlist.shortUUID || playlist.uuid) |
48 | } | 48 | } |
49 | 49 | ||
50 | constructor (hash: ServerVideoPlaylist, translations: {}) { | 50 | constructor (hash: ServerVideoPlaylist, translations: {}) { |