mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 16:56:35 +00:00
Fix delete button for state content in iOS and Android (#23847)
This commit is contained in:
parent
7a7c204d74
commit
77c1786171
@ -178,7 +178,7 @@ class HaEntityStatePicker extends LitElement {
|
|||||||
no-style
|
no-style
|
||||||
@item-moved=${this._moveItem}
|
@item-moved=${this._moveItem}
|
||||||
.disabled=${this.disabled}
|
.disabled=${this.disabled}
|
||||||
handle-selector="[data-handle]"
|
handle-selector="button.primary.action"
|
||||||
>
|
>
|
||||||
<ha-chip-set>
|
<ha-chip-set>
|
||||||
${repeat(
|
${repeat(
|
||||||
@ -194,7 +194,6 @@ class HaEntityStatePicker extends LitElement {
|
|||||||
@remove=${this._removeItem}
|
@remove=${this._removeItem}
|
||||||
.label=${label}
|
.label=${label}
|
||||||
selected
|
selected
|
||||||
data-handle
|
|
||||||
>
|
>
|
||||||
<ha-svg-icon slot="icon" .path=${mdiDrag}></ha-svg-icon>
|
<ha-svg-icon slot="icon" .path=${mdiDrag}></ha-svg-icon>
|
||||||
${label}
|
${label}
|
||||||
|
@ -156,7 +156,7 @@ export class HaSelectSelector extends LitElement {
|
|||||||
no-style
|
no-style
|
||||||
.disabled=${!this.selector.select.reorder}
|
.disabled=${!this.selector.select.reorder}
|
||||||
@item-moved=${this._itemMoved}
|
@item-moved=${this._itemMoved}
|
||||||
handle-selector="[data-handle]"
|
handle-selector="button.primary.action"
|
||||||
>
|
>
|
||||||
<ha-chip-set>
|
<ha-chip-set>
|
||||||
${repeat(
|
${repeat(
|
||||||
@ -172,7 +172,6 @@ export class HaSelectSelector extends LitElement {
|
|||||||
@remove=${this._removeItem}
|
@remove=${this._removeItem}
|
||||||
.label=${label}
|
.label=${label}
|
||||||
selected
|
selected
|
||||||
data-handle
|
|
||||||
>
|
>
|
||||||
${this.selector.select?.reorder
|
${this.selector.select?.reorder
|
||||||
? html`
|
? html`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user