Et2Widget: More complete handling of child object styles property when it is missing

This commit is contained in:
nathan 2022-04-19 09:31:10 -06:00
parent 18f6d1ee0b
commit 44c8b2f372

View File

@ -87,7 +87,7 @@ const Et2WidgetMixin = (superClass) =>
static get styles()
{
return [
...(super.styles ? super.styles : []),
...(super.styles ? (Symbol.iterator in Object(super.styles) ? super.styles : [super.styles]) : []),
css`
:host([disabled]) {
display: none;