diff --git a/designsafe/static/scripts/ng-designsafe/providers/notifications-provider.js b/designsafe/static/scripts/ng-designsafe/providers/notifications-provider.js index e966611b55..120368fc77 100644 --- a/designsafe/static/scripts/ng-designsafe/providers/notifications-provider.js +++ b/designsafe/static/scripts/ng-designsafe/providers/notifications-provider.js @@ -119,7 +119,7 @@ function NotificationService( * @param {Object} msg */ function processToastr(e, msg) { - if (e.event_type !== 'data_depot') { + if (msg?.event_type !== 'data_depot') { return; }