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

pull/531/head
Anthony Lapenna 2017-01-22 14:42:12 +13:00 committed by GitHub
parent 579241db92
commit 7ebe4af77d
1 changed files with 1 additions and 1 deletions

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