From 0d8c5447cb9398624f8bb6f4e84f9ac0b7cdf86b Mon Sep 17 00:00:00 2001 From: Drew Ansbacher Date: Tue, 25 Jan 2022 20:02:36 -0700 Subject: [PATCH] no pipe on sub --- ui/src/app/app.component.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index dd83a9182..a4188bc58 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -246,15 +246,6 @@ export class AppComponent { private watchUpdateProgress (): Subscription { return this.patch.watch$('server-info', 'update-progress') - .pipe( - filter(progress => !!progress), - takeWhile(progress => progress.downloaded < progress.size), - finalize(async () => { - if (this.osUpdateProgress) this.osUpdateProgress.downloaded = this.osUpdateProgress.size - await pauseFor(200) - this.osUpdateProgress = undefined - }), - ) .subscribe(progress => { this.osUpdateProgress = progress })