From a007e553a5b5ed61bd4d5cf6d0aea44521424e8c Mon Sep 17 00:00:00 2001 From: turt2live Date: Sat, 10 Jun 2017 14:56:29 -0600 Subject: [PATCH] Change how always-on bridges are represented UI-wise --- web/app/integration/integration.component.html | 5 +---- web/app/riot/riot.component.ts | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/web/app/integration/integration.component.html b/web/app/integration/integration.component.html index 0c6cbb2..3f9d756 100644 --- a/web/app/integration/integration.component.html +++ b/web/app/integration/integration.component.html @@ -6,11 +6,8 @@
-
- -
- +
diff --git a/web/app/riot/riot.component.ts b/web/app/riot/riot.component.ts index da44e67..06b68a8 100644 --- a/web/app/riot/riot.component.ts +++ b/web/app/riot/riot.component.ts @@ -68,7 +68,7 @@ export class RiotComponent { integration.isBroken = false; }, error => { console.error(error); - integration.bridgeError = error.message; + integration.bridgeError = error.message || error; integration.isEnabled = false; integration.isBroken = false; });