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

pull/531/head
Anthony Lapenna 8 years ago committed by GitHub
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…
Cancel
Save