Merge pull request #11039 from umbraco/v9/feature/cancellation_now_works_on_content

V9/feature/cancellation now works on content
This commit is contained in:
Bjarke Berg
2021-09-13 08:45:15 +02:00
committed by GitHub

View File

@@ -67,6 +67,11 @@ function ContentDeleteController($scope, $timeout, contentResource, treeService,
if (err.status && err.status >= 500) {
// TODO: All YSOD handling should be done with an interceptor
overlayService.ysod(err);
navigationService.hideDialog();
}
if(err.data && err.data.notifications && err.data.notifications.length > 0) {
navigationService.hideDialog();
}
});