Enable error notification for internal errors

pull/4338/head
Oliver Günther 9 years ago
parent ac592de867
commit 31aba317f5
  1. 2
      frontend/app/components/wp-edit/wp-edit-form.directive.ts

@ -68,7 +68,7 @@ export class WorkPackageEditFormController {
this.$rootScope.$emit('workPackagesRefreshInBackground');
})
.catch((error) => {
if (!error.data) {
if (!(error.data && error.hasOwnProperty('showErrorNotification')) {
this.NotificationsService.addError("An internal error has occcurred.");
return deferred.reject([]);
}

Loading…
Cancel
Save