diff --git a/src/frontend/app/ui/settings/tasks/progress/progress.tasks.settings.component.html b/src/frontend/app/ui/settings/tasks/progress/progress.tasks.settings.component.html index 9fa616b..0f81db9 100644 --- a/src/frontend/app/ui/settings/tasks/progress/progress.tasks.settings.component.html +++ b/src/frontend/app/ui/settings/tasks/progress/progress.tasks.settings.component.html @@ -22,8 +22,7 @@ aria-valuemax="100" style="min-width: 2em;" [style.width.%]="(progress.progress/(progress.left+progress.progress))*100"> - {{progress.progress}} - /{{progress.progress + progress.left}} + {{progress.progress}}/{{progress.progress + progress.left}}
{ + if (this.progress) { + this.timeCurrentCopy += 1000; + } + }); + } + } + + ngOnDestroy(): void { + if (this.timerSub) { + this.timerSub.unsubscribe(); + } + } + + }