From 43e13c9e9d33d64eb33d8350ac5c313a12aabefe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sat, 13 Nov 2021 11:42:07 +0100 Subject: [PATCH] Only use icon for integration category in dialogs (#532) --- src/components/dialogs/hacs-add-repository-dialog.ts | 2 +- src/components/dialogs/hacs-custom-repositories-dialog.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/dialogs/hacs-add-repository-dialog.ts b/src/components/dialogs/hacs-add-repository-dialog.ts index 4340fa72..d283704e 100644 --- a/src/components/dialogs/hacs-add-repository-dialog.ts +++ b/src/components/dialogs/hacs-add-repository-dialog.ts @@ -173,7 +173,7 @@ export class HacsAddRepositoryDialog extends HacsDialogBase { @load=${this._onImageLoad} /> ` - : html`` + : "" : ""} ${repo.name} ${repo.description} diff --git a/src/components/dialogs/hacs-custom-repositories-dialog.ts b/src/components/dialogs/hacs-custom-repositories-dialog.ts index 3f87ccf9..8ba49005 100644 --- a/src/components/dialogs/hacs-custom-repositories-dialog.ts +++ b/src/components/dialogs/hacs-custom-repositories-dialog.ts @@ -1,5 +1,5 @@ import "@material/mwc-button/mwc-button"; -import { mdiDelete, mdiGithub } from "@mdi/js"; +import { mdiDelete } from "@mdi/js"; import { css, html, PropertyValues, TemplateResult } from "lit"; import { customElement, property, state } from "lit/decorators"; import { computeRTL } from "../../../homeassistant-frontend/src/common/util/compute_rtl"; @@ -74,9 +74,6 @@ export class HacsCustomRepositoriesDialog extends HacsDialogBase { (repo) => html` this._showReopsitoryInfo(String(repo.id))} > - ${!this.narrow - ? html`` - : ""} ${repo.name} ${repo.full_name} (${repo.category})