mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
notification color is wrong (#540)
This commit is contained in:
parent
ff8194f715
commit
a7e9e86da4
1 changed files with 1 additions and 3 deletions
|
@ -13,11 +13,9 @@
|
|||
[NotificationType.ERROR]: "error-notification",
|
||||
[NotificationType.ACTION_BANNER]: "action-banner-notification"
|
||||
};
|
||||
|
||||
const notificationClass = styles[notification.type];
|
||||
</script>
|
||||
|
||||
<div class="flex w-full items-center justify-between px-4 py-2 {notificationClass}">
|
||||
<div class="flex w-full items-center justify-between px-4 py-2 {styles[notification.type]}">
|
||||
<div>{notification.message}</div>
|
||||
<div class="flex items-center gap-4">
|
||||
{#if notification.callback}
|
||||
|
|
Loading…
Reference in a new issue