this.videoName = videoName
}
+ onError () {
+ this.videoName = undefined
+ this.secondStepType = undefined
+ }
+
canDeactivate () {
if (this.secondStepType === 'upload') return this.videoUpload.canDeactivate()
if (this.secondStepType === 'import-url') return this.videoImportUrl.canDeactivate()
}
isVideoImportTorrentEnabled () {
- return this.serverService.getConfig().import.videos.http.enabled
+ return this.serverService.getConfig().import.videos.torrent.enabled
}
}