No need for shadowroot

This commit is contained in:
thomas committed 2019-02-16 00:05:14 +01:00
1 parent 1d85a8bc06
commit f9a58c8568
1 file changed
+3
+3
View File
@@ -158,6 +158,9 @@ class AutoEntities extends cardTools.litElement() {
return entities;
}
createRenderRoot() {
return this;
}
render() {
if(this.entities.length === 0 && this._config.show_empty === false)
return cardTools.litHtml()``;