Slot support also when there is no status
This commit is contained in:
parent
b5052c4e43
commit
93bf9ea347
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ class CurrentState extends Component {
|
||||||
el.style.height = '100%';
|
el.style.height = '100%';
|
||||||
if (!statusknown) {
|
if (!statusknown) {
|
||||||
el.style.backgroundColor = '#555753';
|
el.style.backgroundColor = '#555753';
|
||||||
|
el.innerHTML = '<slot></slot>';
|
||||||
return el;
|
return el;
|
||||||
}
|
}
|
||||||
if (status) {
|
if (status) {
|
||||||
|
|
Loading…
Reference in a new issue