From 7ebe4af77d46fdfc59d33df31471762e6819cbd0 Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Sun, 22 Jan 2017 14:42:12 +1300 Subject: [PATCH] fix(images): fix an issue when deleting images with multiple tags (#526) --- app/shared/responseHandlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/shared/responseHandlers.js b/app/shared/responseHandlers.js index 16bdc248a..8b60fea6f 100644 --- a/app/shared/responseHandlers.js +++ b/app/shared/responseHandlers.js @@ -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); }