Skip to content
Snippets Groups Projects
Commit 1b6e279a authored by Detailleur's avatar Detailleur
Browse files

[NRRPLT-8276] timeout

parent 2888b38b
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,8 @@ class NotificationDialog extends React.Component{ ...@@ -58,7 +58,8 @@ class NotificationDialog extends React.Component{
{notifications.map((notification, index) => { {notifications.map((notification, index) => {
return ( return (
<li key={index} className='no-style'> <li key={index} className='no-style'>
<Toast className='toast-width' onClose={(index) => this.handleClose(index)}> <Toast className='toast-width' onClose={(index) => this.handleClose(index)}
delay={notification.type==='Warning'? 60000: 10000} autohide>
<Toast.Header className={notification.type==='Warning'? 'warning': 'info'} > <Toast.Header className={notification.type==='Warning'? 'warning': 'info'} >
<strong className='mr-auto'>{notification.type}</strong> <strong className='mr-auto'>{notification.type}</strong>
</Toast.Header> </Toast.Header>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment