From b3f8daa75835972619d62214298c3b36378cc69c Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Tue, 19 Oct 2021 18:24:11 +0200 Subject: [PATCH] Fix `ha-icon-button` in `ha-file-upload` (#10328) --- src/components/ha-file-upload.ts | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/src/components/ha-file-upload.ts b/src/components/ha-file-upload.ts index e43b69a859..611ff357d5 100644 --- a/src/components/ha-file-upload.ts +++ b/src/components/ha-file-upload.ts @@ -84,15 +84,20 @@ export class HaFileUpload extends LitElement { ${this.value} ${this.value - ? html`` - : html` - .path=${this.icon} >`} + ? html` + + ` + : html` + + `} `}