Close dialog if show ysod dialog

This commit is contained in:
Erik-Jan Westendorp
2021-09-01 15:36:52 +02:00
parent 36ba30fcbd
commit 598b5cf0fc

View File

@@ -67,6 +67,7 @@ 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) {