feat: scroll to the end of the firmware log when success of faild panel visible (#1018)

This commit is contained in:
Róbert Kiss
2019-08-20 15:33:28 +02:00
committed by László Monda
parent c4269d4cf1
commit 79f467603a
3 changed files with 38 additions and 15 deletions

View File

@@ -27,7 +27,7 @@
label="Choose firmware file and flash it"></file-upload>
</p>
<div *ngIf="firmwareUpgradeFailed$ | async"
<div *ngIf="firmwareUpgradeFailed"
class="alert alert-danger"
role="alert">
<p>Firmware update failed. Disconnect every USB device from your computer (including USB hubs, KVM switches, USB dongles, and everything else), then connect only your UHK and retry.</p>
@@ -35,7 +35,7 @@
<p>If you've tried the above and the update still keeps failing, please <a class="link-github" [href]="firmwareGithubIssueUrl" externalUrl>create a GitHub issue</a>, and attach the update log.</p>
</div>
<div *ngIf="firmwareUpgradeSuccess$ | async"
<div *ngIf="firmwareUpgradeSuccess"
class="alert alert-success"
role="alert">
<p>Firmware update succeeded.</p>