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:
parent
579241db92
commit
7ebe4af77d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue