diff --git a/frontend/app/components/wp-edit/wp-edit-form.directive.ts b/frontend/app/components/wp-edit/wp-edit-form.directive.ts index 27ef30e110..07084a312a 100644 --- a/frontend/app/components/wp-edit/wp-edit-form.directive.ts +++ b/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([]); }