From f3cbec4e96829d0d6ef7709d7e462212e2c0f834 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 21 May 2024 16:25:07 -0400 Subject: [PATCH] update when family/variant changes; fixes #438 --- src/components/icon/icon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/icon/icon.ts b/src/components/icon/icon.ts index 976166668..b7d62539d 100644 --- a/src/components/icon/icon.ts +++ b/src/components/icon/icon.ts @@ -165,7 +165,7 @@ export default class WaIcon extends WebAwesomeElement { } } - @watch(['name', 'src', 'library']) + @watch(['family', 'name', 'library', 'variant', 'src']) async setIcon() { const { url, fromLibrary } = this.getIconSource(); const library = fromLibrary ? getIconLibrary(this.library) : undefined;