mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 21:17:47 +00:00
Fix more info dialog resizing
This commit is contained in:
parent
2e4c73c087
commit
77b37bce7e
@ -80,7 +80,7 @@ class HaMoreInfoDialog extends DialogMixin(PolymerElement) {
|
||||
class="no-padding"
|
||||
hass="[[hass]]"
|
||||
state-obj="[[stateObj]]"
|
||||
dialog-element="[[_dialogElement]]"
|
||||
dialog-element="[[_dialogElement()]]"
|
||||
registry-entry="[[_registryInfo]]"
|
||||
large="{{large}}"
|
||||
></more-info-controls>
|
||||
@ -102,7 +102,6 @@ class HaMoreInfoDialog extends DialogMixin(PolymerElement) {
|
||||
observer: "_largeChanged",
|
||||
},
|
||||
|
||||
_dialogElement: Object,
|
||||
_registryInfo: Object,
|
||||
|
||||
dataDomain: {
|
||||
@ -116,9 +115,8 @@ class HaMoreInfoDialog extends DialogMixin(PolymerElement) {
|
||||
return ["_dialogOpenChanged(opened)"];
|
||||
}
|
||||
|
||||
ready() {
|
||||
super.ready();
|
||||
this._dialogElement = this;
|
||||
_dialogElement() {
|
||||
return this;
|
||||
}
|
||||
|
||||
_computeDomain(stateObj) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user