diff --git a/src/app/sys-check/network-check/network-check.component.html b/src/app/sys-check/network-check/network-check.component.html index 8e5ee74ebd82386ca59b2b7db09729d5cc2a1ca5..c83524f05a18ee7367e89dcc26a02986932b214c 100644 --- a/src/app/sys-check/network-check/network-check.component.html +++ b/src/app/sys-check/network-check/network-check.component.html @@ -7,7 +7,7 @@ </div> <div *ngIf="testDone"> - <p [ngSwitch]="networkRating">Ihre Verbindung zum Testserver ist + <p [ngSwitch]="networkRating.overallRating">Ihre Verbindung zum Testserver ist <span *ngSwitchCase="'insufficient'" style="color: red; font-weight: bold;">unzureichend <i class="material-icons">error</i></span> <span *ngSwitchCase="'ok'" style="color: orange; font-weight: bold;">vorauss. ausreichend (bes. Vorsichtsmaßnahmen treffen!) <i class="material-icons">warning</i></span> <span *ngSwitchCase="'good'" style="color: green; font-weight: bold;">gut <i class="material-icons">check</i></span> diff --git a/src/app/sys-check/network-check/network-check.component.ts b/src/app/sys-check/network-check/network-check.component.ts index 29fcac11ee3b8b209b092b4331d3d63c7f3a3747..d64e2e4077df4b2f3529c60724ca9b16babfa6d2 100644 --- a/src/app/sys-check/network-check/network-check.component.ts +++ b/src/app/sys-check/network-check/network-check.component.ts @@ -244,9 +244,9 @@ export interface NetworkData { export type TechCheckRating = 'N/A' | 'insufficient' | 'ok' | 'good'; export interface NetworkRating { - uploadRating: TechCheckRating - downloadRating: TechCheckRating - pingRating: TechCheckRating - overallRating: TechCheckRating + uploadRating: TechCheckRating; + downloadRating: TechCheckRating; + pingRating: TechCheckRating; + overallRating: TechCheckRating; }