forked from extern/egroupware
Et2Widget: More complete handling of child object styles property when it is missing
This commit is contained in:
parent
18f6d1ee0b
commit
44c8b2f372
@ -87,7 +87,7 @@ const Et2WidgetMixin = (superClass) =>
|
|||||||
static get styles()
|
static get styles()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
...(super.styles ? super.styles : []),
|
...(super.styles ? (Symbol.iterator in Object(super.styles) ? super.styles : [super.styles]) : []),
|
||||||
css`
|
css`
|
||||||
:host([disabled]) {
|
:host([disabled]) {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user