From 78954bcc45955ee300cc12b5bb6625e2b4185c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 25 May 2023 17:41:58 +0300 Subject: [PATCH] Refactor #3965 - For Avatar --- components/lib/avatar/Avatar.vue | 2 +- components/lib/avatar/BaseAvatar.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/avatar/Avatar.vue b/components/lib/avatar/Avatar.vue index b65ad1cfb..83254d6fc 100644 --- a/components/lib/avatar/Avatar.vue +++ b/components/lib/avatar/Avatar.vue @@ -3,7 +3,7 @@ {{ label }} - + diff --git a/components/lib/avatar/BaseAvatar.vue b/components/lib/avatar/BaseAvatar.vue index 23e3a136a..17b5ca12e 100644 --- a/components/lib/avatar/BaseAvatar.vue +++ b/components/lib/avatar/BaseAvatar.vue @@ -45,7 +45,7 @@ const classes = { } ], label: 'p-avatar-text', - icon: ({ props }) => ['p-avatar-icon', props.icon] + icon: 'p-avatar-icon' }; const { load: loadStyle } = useStyle(styles, { id: 'primevue_avatar_style', manual: true });