Look for row config in the right place

This commit is contained in:
thomas committed 2019-06-28 14:23:02 +02:00
1 parent 0154b13a23
commit f0486b0cde
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ class FoldEntityRow extends LitElement {
}
clickRow(ev) {
const config = ev.target._config;
const config = ev.target.parentElement._config;
const entity = config.entity || (typeof config === "string" ? config : null);
ev.stopPropagation();