diff options
author | Chocobozzz <me@florianbigard.com> | 2022-11-15 15:16:41 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-11-15 15:16:41 +0100 |
commit | 7dcd7d81406f4869363d2a5595d5c68f7106eb22 (patch) | |
tree | 6da3b6fa6c58db11187cde99b66756ef621360b7 /client/src/app/+videos/+video-edit | |
parent | 99b757488c077cee7d0ab89eeec181a7ee6290eb (diff) | |
download | PeerTube-7dcd7d81406f4869363d2a5595d5c68f7106eb22.tar.gz PeerTube-7dcd7d81406f4869363d2a5595d5c68f7106eb22.tar.zst PeerTube-7dcd7d81406f4869363d2a5595d5c68f7106eb22.zip |
Fix client lint
Diffstat (limited to 'client/src/app/+videos/+video-edit')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add.component.ts | 2 |
1 files changed, 1 insertions, 1 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 25203de1b..460c37a38 100644 --- a/client/src/app/+videos/+video-edit/video-add.component.ts +++ b/client/src/app/+videos/+video-edit/video-add.component.ts | |||
@@ -143,7 +143,7 @@ export class VideoAddComponent implements OnInit, CanComponentDeactivate { | |||
143 | return text | 143 | return text |
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 === 'upload') return this.videoUpload.canDeactivate() |
148 | if (this.secondStepType === 'import-url') return this.videoImportUrl.canDeactivate() | 148 | if (this.secondStepType === 'import-url') return this.videoImportUrl.canDeactivate() |
149 | if (this.secondStepType === 'import-torrent') return this.videoImportTorrent.canDeactivate() | 149 | if (this.secondStepType === 'import-torrent') return this.videoImportTorrent.canDeactivate() |