mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 01:36:49 +00:00
Fall back to use handler if translations broken (#4777)
This commit is contained in:
parent
8a4c52aeb7
commit
e5387e5806
@ -39,7 +39,8 @@ class StepFlowPickHandler extends LitElement {
|
||||
private _getHandlers = memoizeOne((h: string[], filter?: string) => {
|
||||
const handlers: HandlerObj[] = h.map((handler) => {
|
||||
return {
|
||||
name: this.hass.localize(`component.${handler}.config.title`),
|
||||
name:
|
||||
this.hass.localize(`component.${handler}.config.title`) || handler,
|
||||
slug: handler,
|
||||
};
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user