mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Fix move data disk dialog (#13845)
This commit is contained in:
parent
5a150ac80d
commit
8e245c8a83
@ -130,13 +130,18 @@ class MoveDatadiskDialog extends LitElement {
|
||||
@selected=${this._select_device}
|
||||
@closed=${stopPropagation}
|
||||
dialogInitialFocus
|
||||
fixedMenuPosition
|
||||
>
|
||||
${this._devices.map(
|
||||
(device) =>
|
||||
html`<mwc-list-item .value=${device}
|
||||
>${device}</mwc-list-item
|
||||
>`
|
||||
html`<mwc-list-item .value=${device}>
|
||||
${device}
|
||||
</mwc-list-item>`
|
||||
)}
|
||||
<mwc-list-item>Test</mwc-list-item>
|
||||
<mwc-list-item>Test</mwc-list-item>
|
||||
<mwc-list-item>Test</mwc-list-item>
|
||||
<mwc-list-item>Test</mwc-list-item>
|
||||
</ha-select>
|
||||
|
||||
<mwc-button
|
||||
@ -175,8 +180,9 @@ class MoveDatadiskDialog extends LitElement {
|
||||
),
|
||||
text: extractApiErrorMessage(err),
|
||||
});
|
||||
this.closeDialog();
|
||||
}
|
||||
} finally {
|
||||
this.closeDialog();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user