From 35e9687170876ddf4103c422a0099dc980566585 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Sat, 11 Dec 2021 17:15:16 +0100 Subject: [PATCH] Replace `mwc-icon-button` with `ha-icon-button` in automation picker (#10858) --- src/components/ha-button-related-filter-menu.ts | 1 + src/components/ha-icon-overflow-menu.ts | 12 +++++------- src/translations/en.json | 2 ++ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/components/ha-button-related-filter-menu.ts b/src/components/ha-button-related-filter-menu.ts index afbfff1966..fb65469e12 100644 --- a/src/components/ha-button-related-filter-menu.ts +++ b/src/components/ha-button-related-filter-menu.ts @@ -56,6 +56,7 @@ export class HaRelatedFilterButtonMenu extends LitElement { return html` + ? html` ` : html` - - + ${this.items.map((item) => item.narrowOnly ? "" @@ -70,13 +69,12 @@ export class HaIconOverflowMenu extends LitElement { ${item.tooltip} ` : ""} - - - + > ` )} `} diff --git a/src/translations/en.json b/src/translations/en.json index eec89cb39c..e423ddcf10 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -298,6 +298,7 @@ "not_now": "Not now", "skip": "Skip", "menu": "Menu", + "overflow_menu": "Overflow menu", "help": "Help", "successfully_saved": "Successfully saved", "successfully_deleted": "Successfully deleted", @@ -422,6 +423,7 @@ } }, "related-filter-menu": { + "filter": "Filter", "filter_by_entity": "Filter by entity", "filter_by_device": "Filter by device", "filter_by_area": "Filter by area",