From a02b93ce756d646a59cef57b5e4ff53c2bb30bec Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 6 Aug 2020 16:14:58 +0200 Subject: Fix lint --- client/src/app/+videos/+video-edit/video-update.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/+videos/+video-edit/video-update.component.ts') diff --git a/client/src/app/+videos/+video-edit/video-update.component.ts b/client/src/app/+videos/+video-edit/video-update.component.ts index 7bd6eb553..581199d65 100644 --- a/client/src/app/+videos/+video-edit/video-update.component.ts +++ b/client/src/app/+videos/+video-edit/video-update.component.ts @@ -101,7 +101,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { this.video.patch(this.form.value) - this.loadingBar.start() + this.loadingBar.useRef().start() this.isUpdatingVideo = true // Update the video @@ -114,13 +114,13 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { () => { this.updateDone = true this.isUpdatingVideo = false - this.loadingBar.complete() + this.loadingBar.useRef().complete() this.notifier.success(this.i18n('Video updated.')) this.router.navigate([ '/videos/watch', this.video.uuid ]) }, err => { - this.loadingBar.complete() + this.loadingBar.useRef().complete() this.isUpdatingVideo = false this.notifier.error(err.message) console.error(err) -- cgit v1.2.3