diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-05 11:38:45 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-05 11:44:09 +0200 |
commit | 4363ce0e3edefcf5d8f913eabea365c424b0a956 (patch) | |
tree | ea965e604709890d0395a863637597b30dc3fe49 /client/src/app | |
parent | fcd8d3e0302cb1e061e6868f3180f0d66e149d18 (diff) | |
download | PeerTube-4363ce0e3edefcf5d8f913eabea365c424b0a956.tar.gz PeerTube-4363ce0e3edefcf5d8f913eabea365c424b0a956.tar.zst PeerTube-4363ce0e3edefcf5d8f913eabea365c424b0a956.zip |
Increase thumbnail size on server
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/+accounts/account-videos/account-videos.component.ts | 6 | ||||
-rw-r--r-- | client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts | 8 |
2 files changed, 2 insertions, 12 deletions
diff --git a/client/src/app/+accounts/account-videos/account-videos.component.ts b/client/src/app/+accounts/account-videos/account-videos.component.ts index 78af2316a..75af45e90 100644 --- a/client/src/app/+accounts/account-videos/account-videos.component.ts +++ b/client/src/app/+accounts/account-videos/account-videos.component.ts | |||
@@ -16,6 +16,7 @@ import { VideoFilter } from '@shared/models' | |||
16 | ] | 16 | ] |
17 | }) | 17 | }) |
18 | export class AccountVideosComponent extends AbstractVideoList implements OnInit, OnDestroy { | 18 | export class AccountVideosComponent extends AbstractVideoList implements OnInit, OnDestroy { |
19 | // No value because we don't want a page title | ||
19 | titlePage: string | 20 | titlePage: string |
20 | loadOnInit = false | 21 | loadOnInit = false |
21 | loadUserVideoPreferences = true | 22 | loadUserVideoPreferences = true |
@@ -77,11 +78,6 @@ export class AccountVideosComponent extends AbstractVideoList implements OnInit, | |||
77 | 78 | ||
78 | return this.videoService | 79 | return this.videoService |
79 | .getAccountVideos(options) | 80 | .getAccountVideos(options) |
80 | .pipe( | ||
81 | tap(({ total }) => { | ||
82 | this.titlePage = $localize`Published ${total} videos` | ||
83 | }) | ||
84 | ) | ||
85 | } | 81 | } |
86 | 82 | ||
87 | toggleModerationDisplay () { | 83 | toggleModerationDisplay () { |
diff --git a/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts b/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts index e05b06e5c..d83fc1324 100644 --- a/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts +++ b/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts | |||
@@ -16,6 +16,7 @@ import { VideoFilter } from '@shared/models' | |||
16 | ] | 16 | ] |
17 | }) | 17 | }) |
18 | export class VideoChannelVideosComponent extends AbstractVideoList implements OnInit, OnDestroy { | 18 | export class VideoChannelVideosComponent extends AbstractVideoList implements OnInit, OnDestroy { |
19 | // No value because we don't want a page title | ||
19 | titlePage: string | 20 | titlePage: string |
20 | loadOnInit = false | 21 | loadOnInit = false |
21 | loadUserVideoPreferences = true | 22 | loadUserVideoPreferences = true |
@@ -94,13 +95,6 @@ export class VideoChannelVideosComponent extends AbstractVideoList implements On | |||
94 | 95 | ||
95 | return this.videoService | 96 | return this.videoService |
96 | .getVideoChannelVideos(options) | 97 | .getVideoChannelVideos(options) |
97 | .pipe( | ||
98 | tap(({ total }) => { | ||
99 | this.titlePage = total === 1 | ||
100 | ? $localize`Published 1 video` | ||
101 | : $localize`Published ${total} videos` | ||
102 | }) | ||
103 | ) | ||
104 | } | 98 | } |
105 | 99 | ||
106 | generateSyndicationList () { | 100 | generateSyndicationList () { |