mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-28 07:17:21 +00:00
Disable local only option for system generated users (#10827)
This commit is contained in:
parent
0a7b703d57
commit
7039bae9be
@ -106,6 +106,7 @@ class DialogUserDetail extends LitElement {
|
|||||||
.dir=${computeRTLDirection(this.hass)}
|
.dir=${computeRTLDirection(this.hass)}
|
||||||
>
|
>
|
||||||
<ha-switch
|
<ha-switch
|
||||||
|
.disabled=${user.system_generated}
|
||||||
.checked=${this._localOnly}
|
.checked=${this._localOnly}
|
||||||
@change=${this._localOnlyChanged}
|
@change=${this._localOnlyChanged}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user