Skip to content

Commit

Permalink
use correct version string (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
UnchartedBull authored Oct 14, 2020
1 parent 8acc468 commit 78e6315
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/app/update/update.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
<div *ngIf="page === 1">
<span class="update-heading">downloading update ...</span>
<div class="update-progress-bar__wrapper">
<div
class="update-progress-bar"
[ngStyle]="{ width: updateProgress.percentage / 2 + 'vw' }"
id="updateDownloadProgress"
>
<div class="update-progress-bar" [ngStyle]="{ width: updateProgress.percentage / 2 + 'vw' }"
id="updateDownloadProgress">
{{ updateProgress.speed }} MB/s&nbsp;
</div>
</div>
Expand All @@ -21,11 +18,11 @@
<span class="update-notice">this might take a while</span>
</div>
<div *ngIf="page === 3">
<span class="update-heading">v{{ service.version }} installed</span>
<span class="update-heading">v{{ service.latestVersion }} installed</span>
<span class="update-restart">would you like to reboot now to activate the latest version?</span>
<div class="update-restart-button__wrapper">
<button class="update-restart-button update-restart-button__no" (click)="closeUpdateWindow()">no</button>
<button class="update-restart-button update-restart-button__yes" (click)="reboot()">yes</button>
</div>
</div>
</div>
</div>

0 comments on commit 78e6315

Please sign in to comment.