diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-07 10:07:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-08 09:30:31 +0200 |
commit | a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4 (patch) | |
tree | cf2feafcfadb5b6e9784c86d67e692db8d599b7d /client/src/app/videos | |
parent | 990b6a0b0c4fbebc165e5cf7cec8fbc1cbaa6c66 (diff) | |
download | PeerTube-a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4.tar.gz PeerTube-a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4.tar.zst PeerTube-a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4.zip |
Add import.video.torrent configuration
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add.component.scss | 1 | ||||
-rw-r--r-- | client/src/app/videos/+video-edit/video-add.component.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-edit/video-add.component.scss b/client/src/app/videos/+video-edit/video-add.component.scss index 443361f50..c1f96cc37 100644 --- a/client/src/app/videos/+video-edit/video-add.component.scss +++ b/client/src/app/videos/+video-edit/video-add.component.scss | |||
@@ -50,6 +50,7 @@ $background-color: #F7F7F7; | |||
50 | border-radius: 3px; | 50 | border-radius: 3px; |
51 | width: 100%; | 51 | width: 100%; |
52 | min-height: 440px; | 52 | min-height: 440px; |
53 | padding-bottom: 20px; | ||
53 | display: flex; | 54 | display: flex; |
54 | justify-content: center; | 55 | justify-content: center; |
55 | align-items: center; | 56 | align-items: center; |
diff --git a/client/src/app/videos/+video-edit/video-add.component.ts b/client/src/app/videos/+video-edit/video-add.component.ts index 7d360598d..1a9247dbe 100644 --- a/client/src/app/videos/+video-edit/video-add.component.ts +++ b/client/src/app/videos/+video-edit/video-add.component.ts | |||
@@ -40,6 +40,6 @@ export class VideoAddComponent implements CanComponentDeactivate { | |||
40 | } | 40 | } |
41 | 41 | ||
42 | isVideoImportTorrentEnabled () { | 42 | isVideoImportTorrentEnabled () { |
43 | return this.serverService.getConfig().import.videos.http.enabled | 43 | return this.serverService.getConfig().import.videos.torrent.enabled |
44 | } | 44 | } |
45 | } | 45 | } |