1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 08:19:40 +02:00

feat(image): define a new response handler for image deletion

This commit is contained in:
Anthony Lapenna 2016-09-01 14:24:47 +12:00
parent 4125361fb5
commit 789750cc86
4 changed files with 34 additions and 19 deletions

View file

@ -54,7 +54,6 @@ function ($scope, $state, Network, Config, Messages, errorMsgFilter) {
}
complete();
}, function (e) {
console.log(JSON.stringify(e, null, 4));
if (e.data.message) {
Messages.error("Failure", e.data.message);
} else {