mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 00:40:01 +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)}
|
onClose={() => removeNotificationById(notification.id)}
|
||||||
onClick={() => removeNotificationById(notification.id)}
|
onClick={() => removeNotificationById(notification.id)}
|
||||||
onMouseLeave={() => {
|
onMouseLeave={() => {
|
||||||
|
if (notification.levelname !== 'ERROR') {
|
||||||
removeNotificationById(notification.id);
|
removeNotificationById(notification.id);
|
||||||
|
}
|
||||||
}}
|
}}
|
||||||
show={true}
|
show={true}
|
||||||
autohide={
|
autohide={
|
||||||
|
Loading…
x
Reference in New Issue
Block a user