Fixing broadcast vs info vs default notifications
This commit is contained in:
@ -72,6 +72,7 @@ const CoreMiddleware = (function(){
|
||||
);
|
||||
|
||||
// Log with Raven Sentry
|
||||
/*
|
||||
if (store.getState().ui.allow_reporting){
|
||||
Raven.captureException(
|
||||
new Error(message),
|
||||
@ -80,6 +81,7 @@ const CoreMiddleware = (function(){
|
||||
}
|
||||
);
|
||||
}
|
||||
*/
|
||||
|
||||
// Log with Analytics
|
||||
if (store.getState().ui.allow_reporting){
|
||||
|
||||
@ -160,7 +160,7 @@ const UIMiddleware = (function(){
|
||||
key: (broadcast.key ? broadcast.key : null),
|
||||
title: (broadcast.title ? broadcast.title : null),
|
||||
content: broadcast.message,
|
||||
type: 'info',
|
||||
type: 'broadcast',
|
||||
sticky: true
|
||||
}
|
||||
store.dispatch(uiActions.createNotification(data));
|
||||
|
||||
Reference in New Issue
Block a user