mirror of https://github.com/portainer/portainer
fix(images): fix an issue when deleting images with multiple tags (#526)
parent
579241db92
commit
7ebe4af77d
|
@ -56,7 +56,7 @@ function deleteImageHandler(data) {
|
|||
response.push({message: data});
|
||||
}
|
||||
// A JSON object is returned on failure (Docker = 1.12)
|
||||
else if (!isJSONArray) {
|
||||
else if (!isJSONArray(data)) {
|
||||
var json = angular.fromJson(data);
|
||||
response.push(json);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue