From 1f64fd792944ac77a5ff7140856366202d97785f Mon Sep 17 00:00:00 2001
From: Dan Barbulescu <danbarbulescu.main@gmail.com>
Date: Tue, 18 Dec 2018 17:38:42 +0100
Subject: [PATCH] updated networkcheck html

---
 .../sys-check/network-check/network-check.component.html  | 2 +-
 .../sys-check/network-check/network-check.component.ts    | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

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 8e5ee74e..c83524f0 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 29fcac11..d64e2e40 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;
  } 
 
-- 
GitLab