mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Added the close button for all the notifications of the notistack. #5212
This commit is contained in:
@@ -145,7 +145,7 @@ let Notifier = {
|
||||
},
|
||||
_callNotify(msg, type, autoHideDuration) {
|
||||
this.notify(
|
||||
<NotifierMessage style={{maxWidth: '50vw'}} type={type} message={msg} closable={_.isNull(autoHideDuration) ? true : false} />,
|
||||
<NotifierMessage style={{maxWidth: '50vw'}} type={type} message={msg} closable={true} />,
|
||||
autoHideDuration
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user