Skip to content

Commit

Permalink
Show server error if 'add file' fails in admin UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ks-yim committed Jan 6, 2022
1 parent cd45a77 commit 2384e54
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ angular.module('CentralDogmaAdmin')
NotificationUtil.success('entities.saved_file', { path: $scope.file.path });

$scope.back();
}, function (error) {
NotificationUtil.error(error);
});
};
});

0 comments on commit 2384e54

Please sign in to comment.