Creating processes
This commit is contained in:
@ -269,10 +269,10 @@ const UIMiddleware = (function(){
|
||||
case 'CREATE_NOTIFICATION':
|
||||
|
||||
// start a timeout to remove this (non loading) notification
|
||||
if (action.notification.type != 'loading'){
|
||||
if (action.notification.type != 'process'){
|
||||
var timeout = setTimeout(
|
||||
function(){
|
||||
store.dispatch(uiActions.removeNotification(action.notification.id))
|
||||
store.dispatch(uiActions.removeNotification(action.notification.key))
|
||||
},
|
||||
(action.notification.type == 'shortcut' ? 1000 : 3000)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user