mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-20 00:10:03 +02:00
frontend: error toast only goes away when clicked
This commit is contained in:
parent
a769f4eb3b
commit
f5627e6a2f
@ -28,7 +28,9 @@ export const Notifications = React.memo((props: NotificationProps) => {
|
||||
onClose={() => removeNotificationById(notification.id)}
|
||||
onClick={() => removeNotificationById(notification.id)}
|
||||
onMouseLeave={() => {
|
||||
removeNotificationById(notification.id);
|
||||
if (notification.levelname !== 'ERROR') {
|
||||
removeNotificationById(notification.id);
|
||||
}
|
||||
}}
|
||||
show={true}
|
||||
autohide={
|
||||
|
Loading…
x
Reference in New Issue
Block a user