mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Fix upload tab title when the file is uplodaded
This commit is contained in:
parent
013d413841
commit
684fb57019
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue