From 7f840e75df59f59aa3f48177ac027771671ed53d Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Mon, 4 Jan 2021 09:18:08 +0100 Subject: [PATCH] Add EN fallback text for dismiss button (#8068) --- src/state/disconnect-toast-mixin.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/state/disconnect-toast-mixin.ts b/src/state/disconnect-toast-mixin.ts index a579d3b5d6..8751e47824 100644 --- a/src/state/disconnect-toast-mixin.ts +++ b/src/state/disconnect-toast-mixin.ts @@ -33,7 +33,8 @@ export default >(superClass: T) => duration: 0, dismissable: false, action: { - text: this.hass!.localize("ui.notification_toast.dismiss"), + text: + this.hass!.localize("ui.notification_toast.dismiss") || "Dismiss", action: () => {}, }, });