Add EN fallback text for dismiss button (#8068)

This commit is contained in:
Philip Allgaier 2021-01-04 09:18:08 +01:00 committed by GitHub
parent 2113ea675e
commit 7f840e75df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,8 @@ export default <T extends Constructor<HassBaseEl>>(superClass: T) =>
duration: 0, duration: 0,
dismissable: false, dismissable: false,
action: { action: {
text: this.hass!.localize("ui.notification_toast.dismiss"), text:
this.hass!.localize("ui.notification_toast.dismiss") || "Dismiss",
action: () => {}, action: () => {},
}, },
}); });