Improved support for modding custom entity rows (#21)

This commit is contained in:
Thomas Lovén 2020-01-08 09:41:08 +01:00
parent 97018c7d67
commit 35d61368cc

View File

@ -24,6 +24,8 @@ customElements.whenDefined('hui-entities-card').then(() => {
}
row.updateComplete.then(apply);
if(retval.values[0])
retval.values[0].addEventListener("ll-rebuild", apply);
window.addEventListener("location-changed", apply);
return retval;
}