diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-12 13:50:48 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-12 13:50:48 +0200 |
commit | 10ef089102f2225c5ec3ed426bc612e4f2bc8655 (patch) | |
tree | a92171db9114792a363e360bfb645c13d9ea4234 /client/src/app/+videos | |
parent | c80e458afb63915163467fe9b3b147b3b4e4657d (diff) | |
parent | 3c25d37aef66b125e8c66d38b04eb763f1b17bc6 (diff) | |
download | PeerTube-10ef089102f2225c5ec3ed426bc612e4f2bc8655.tar.gz PeerTube-10ef089102f2225c5ec3ed426bc612e4f2bc8655.tar.zst PeerTube-10ef089102f2225c5ec3ed426bc612e4f2bc8655.zip |
Merge branch 'release/3.4.0' into develop
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add.component.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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 bcb2fc4fa..25203de1b 100644 --- a/client/src/app/+videos/+video-edit/video-add.component.ts +++ b/client/src/app/+videos/+video-edit/video-add.component.ts | |||
@@ -144,6 +144,7 @@ export class VideoAddComponent implements OnInit, CanComponentDeactivate { | |||
144 | } | 144 | } |
145 | 145 | ||
146 | canDeactivate (): { canDeactivate: boolean, text?: string} { | 146 | canDeactivate (): { canDeactivate: boolean, text?: string} { |
147 | if (this.secondStepType === 'upload') return this.videoUpload.canDeactivate() | ||
147 | if (this.secondStepType === 'import-url') return this.videoImportUrl.canDeactivate() | 148 | if (this.secondStepType === 'import-url') return this.videoImportUrl.canDeactivate() |
148 | if (this.secondStepType === 'import-torrent') return this.videoImportTorrent.canDeactivate() | 149 | if (this.secondStepType === 'import-torrent') return this.videoImportTorrent.canDeactivate() |
149 | if (this.secondStepType === 'go-live') return this.videoGoLive.canDeactivate() | 150 | if (this.secondStepType === 'go-live') return this.videoGoLive.canDeactivate() |