Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix upload tab title when the file is uplodaded

Chocobozzz684fb57019ec
diff --git a/client/src/app/+videos-publish-manage/+video-publish/upload/video-upload.component.ts b/client/src/app/+videos-publish-manage/+video-publish/upload/video-upload.component.ts
index 513b78f6ed..3944613de0 100644
--- a/client/src/app/+videos-publish-manage/+video-publish/upload/video-upload.component.ts
+++ b/client/src/app/+videos-publish-manage/+video-publish/upload/video-upload.component.ts
@@ -74,6 +74,8 @@ export class VideoUploadComponent implements OnInit, OnDestroy, AfterViewInit, C
ngOnInit () {
this.uploadEventsSubscription = this.manageController.getUploadEventsObs()
.subscribe(state => {
+ this.updateTitle()
+
if (state.status === 'cancelled') {
debugLogger('Upload cancelled', state)
@@ -94,8 +96,6 @@ export class VideoUploadComponent implements OnInit, OnDestroy, AfterViewInit, C
this.manageController.silentRedirectOnManage(shortUUID, this.route)
return
}
-
- this.updateTitle()
})
this.firstStepChannelId = this.userChannels()[0].id