mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Mark paste button list item as interactive (#19898)
* Mark paste button list item as interactive * Update add-automation-element-dialog.ts --------- Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
401bbed67b
commit
9ae234a02f
@ -536,6 +536,8 @@ class DialogAddAutomationElement extends LitElement implements HassDialog {
|
||||
(!this._group ||
|
||||
items.find((item) => item.key === this._params!.clipboardItem))
|
||||
? html`<ha-list-item-new
|
||||
interactive
|
||||
type="button"
|
||||
class="paste"
|
||||
.value=${PASTE_VALUE}
|
||||
@click=${this._selected}
|
||||
@ -543,7 +545,7 @@ class DialogAddAutomationElement extends LitElement implements HassDialog {
|
||||
${this.hass.localize(
|
||||
`ui.panel.config.automation.editor.${this._params.type}s.paste`
|
||||
)}
|
||||
<span slot="secondary"
|
||||
<span slot="supporting-text"
|
||||
>${this.hass.localize(
|
||||
// @ts-ignore
|
||||
`ui.panel.config.automation.editor.${this._params.type}s.type.${this._params.clipboardItem}.label`
|
||||
|
Loading…
x
Reference in New Issue
Block a user