1
0
Fork 0

Cleanup video playlist element miniature code

This commit is contained in:
Chocobozzz 2021-10-22 16:05:57 +02:00
parent 0ba9696c01
commit 60dd77c692
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 5 deletions

View File

@ -121,7 +121,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy
let text = ''
if (this.videoUploaded === true) {
// FIXME: cannot concatenate strings using $localize
// We can't concatenate strings using $localize
text = $localize`Your video was uploaded to your account and is private.` + ' ' +
$localize`But associated data (tags, description...) will be lost, are you sure you want to leave this page?`
} else {

View File

@ -166,9 +166,6 @@ export class VideoPlaylistElementMiniatureComponent implements OnInit {
}
}
// FIXME: why do we have to use setTimeout here?
setTimeout(() => {
this.cdr.detectChanges()
})
this.cdr.markForCheck()
}
}