mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
parent
44d91eaa4f
commit
f31a7c3af0
@ -46,7 +46,7 @@ export const handleAction = async (
|
||||
actionConfig.confirmation &&
|
||||
(!actionConfig.confirmation.exemptions ||
|
||||
!actionConfig.confirmation.exemptions.some(
|
||||
(e) => e.user === hass!.user!.id
|
||||
(e) => e.user === hass!.user?.id
|
||||
))
|
||||
) {
|
||||
forwardHaptic("warning");
|
||||
|
@ -266,7 +266,7 @@ class HUIRoot extends LitElement {
|
||||
((Array.isArray(view.visible) &&
|
||||
!view.visible.some(
|
||||
(e) =>
|
||||
e.user === this.hass!.user!.id
|
||||
e.user === this.hass!.user?.id
|
||||
)) ||
|
||||
view.visible === false))
|
||||
),
|
||||
@ -470,7 +470,7 @@ class HUIRoot extends LitElement {
|
||||
view.visible !== undefined &&
|
||||
((Array.isArray(view.visible) &&
|
||||
!view.visible.some(
|
||||
(e) => e.user === this.hass!.user!.id
|
||||
(e) => e.user === this.hass!.user?.id
|
||||
)) ||
|
||||
view.visible === false)
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user