Fixing broadcast vs info vs default notifications

This commit is contained in:
James Barnsley
2018-07-23 21:14:43 +12:00
parent 0ca1aa76ad
commit a43d5036d2
9 changed files with 34 additions and 24 deletions

View File

@ -50903,11 +50903,16 @@ var CoreMiddleware = function () {
});
// Log with Raven Sentry
if (store.getState().ui.allow_reporting) {
Raven.captureException(new Error(message), {
extra: data
});
}
/*
if (store.getState().ui.allow_reporting){
Raven.captureException(
new Error(message),
{
extra: data
}
);
}
*/
// Log with Analytics
if (store.getState().ui.allow_reporting) {
@ -51655,7 +51660,7 @@ var 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));