From 93bf9ea34789bd2b6d85c65d21c6363abb53560a Mon Sep 17 00:00:00 2001 From: Henri Bergius Date: Thu, 30 Nov 2017 23:17:40 +0100 Subject: [PATCH] Slot support also when there is no status --- elements/currentstate.js | 1 + 1 file changed, 1 insertion(+) diff --git a/elements/currentstate.js b/elements/currentstate.js index ef8a653..a005eca 100644 --- a/elements/currentstate.js +++ b/elements/currentstate.js @@ -58,6 +58,7 @@ class CurrentState extends Component { el.style.height = '100%'; if (!statusknown) { el.style.backgroundColor = '#555753'; + el.innerHTML = ''; return el; } if (status) {