diff --git a/src/components/dialog/notification-dialog.js b/src/components/dialog/notification-dialog.js index df0d0f91a75b7adc0ac17ca968e6b46d13648294..26e0763f1ec2df8edc275bcfae201d5df72d29d2 100644 --- a/src/components/dialog/notification-dialog.js +++ b/src/components/dialog/notification-dialog.js @@ -58,7 +58,8 @@ class NotificationDialog extends React.Component{ {notifications.map((notification, index) => { return ( <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'} > <strong className='mr-auto'>{notification.type}</strong> </Toast.Header>