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

fix(images): fix an issue when deleting images with multiple tags (#526)

This commit is contained in:
Anthony Lapenna 2017-01-22 14:42:12 +13:00 committed by GitHub
parent 579241db92
commit 7ebe4af77d

View file

@ -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);
}