From a30374c8989b83569f4f83f6aecf2e90f84fa598 Mon Sep 17 00:00:00 2001
From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com>
Date: Sat, 3 May 2025 10:01:25 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0ui=E9=80=9A=E7=9F=A5?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=9B=B8=E5=85=B3=E5=A4=84=E7=90=86=E9=80=BB?=
=?UTF-8?q?=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/UINotificationDisplay.vue | 8 ++---
.../src/stores/uiNotifications.store.ts | 31 +++++++++----------
2 files changed, 19 insertions(+), 20 deletions(-)
diff --git a/packages/frontend/src/components/UINotificationDisplay.vue b/packages/frontend/src/components/UINotificationDisplay.vue
index 33f7366..0617deb 100644
--- a/packages/frontend/src/components/UINotificationDisplay.vue
+++ b/packages/frontend/src/components/UINotificationDisplay.vue
@@ -35,19 +35,19 @@ const getContainerClass = (type: string) => {
v-for="notification in notifications"
:key="notification.id"
:class="[
- 'flex items-center p-3 mb-2 rounded shadow-md min-w-[250px] max-w-[400px] opacity-95 text-white',
+ 'flex items-center p-3 mb-2 rounded shadow-md min-w-[250px] max-w-[400px] opacity-95 text-white',
{
'bg-green-600': notification.type === 'success',
'bg-red-600': notification.type === 'error',
'bg-blue-600': notification.type === 'info',
- 'bg-yellow-500 text-gray-800': notification.type === 'warning', // Warning text color adjusted
+ 'bg-yellow-500 text-gray-800': notification.type === 'warning',
}
]"
>
-
+
{{ notification.message }}