From fba4e365381c031f02d5222a039391b882b261b1 Mon Sep 17 00:00:00 2001 From: Paul Valerie GOMA Date: Wed, 23 Jul 2025 15:38:02 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20bug=20fixed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/badge/VBadge.vue | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/components/badge/VBadge.vue b/src/components/badge/VBadge.vue index 99a6f84..e474e5d 100644 --- a/src/components/badge/VBadge.vue +++ b/src/components/badge/VBadge.vue @@ -23,15 +23,17 @@ const severity = computed(() => { const icon = computed(() => { switch (props.type) { - case 'error': return 'ri-close-circle-fill'; - case 'warning' : return 'ri-alert-fill'; - case 'success' : return 'ri-checkbox-circle-fill'; - case 'info': return 'ri-information-fill'; - case 'new': return 'ri-flashlight-fill'; + case 'error': return 'ri-close-circle-line'; + case 'warning' : return 'ri-alert-line'; + case 'success' : return 'ri-checkbox-circle-line'; + case 'info': return 'ri-information-line'; + case 'new': return 'ri-flashlight-line'; default: return undefined; } }) + +const limit = computed(() => props.maxWidth);