mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 02:36:37 +00:00
Fix add device dialog (#18591)
This commit is contained in:
parent
19c1973ec1
commit
cd4f3a091b
@ -139,12 +139,13 @@ class AddIntegrationDialog extends LitElement {
|
|||||||
}
|
}
|
||||||
if (this._initialFilter !== undefined && this._filter === "") {
|
if (this._initialFilter !== undefined && this._filter === "") {
|
||||||
this._initialFilter = undefined;
|
this._initialFilter = undefined;
|
||||||
this._filter = "";
|
this._filter = undefined;
|
||||||
this._width = undefined;
|
this._width = undefined;
|
||||||
this._height = undefined;
|
this._height = undefined;
|
||||||
} else if (
|
} else if (
|
||||||
this.hasUpdated &&
|
this.hasUpdated &&
|
||||||
changedProps.has("_filter") &&
|
changedProps.has("_filter") &&
|
||||||
|
!changedProps.has("_open") &&
|
||||||
(!this._width || !this._height)
|
(!this._width || !this._height)
|
||||||
) {
|
) {
|
||||||
// Store the width and height so that when we search, box doesn't jump
|
// Store the width and height so that when we search, box doesn't jump
|
||||||
|
Loading…
x
Reference in New Issue
Block a user