diff --git a/app/docker/models/image.js b/app/docker/models/image.js index b0d2417e9..3e81fee8f 100644 --- a/app/docker/models/image.js +++ b/app/docker/models/image.js @@ -5,7 +5,7 @@ export function ImageViewModel(data) { this.Created = data.Created; this.Checked = false; this.RepoTags = data.RepoTags; - if (!this.RepoTags && data.RepoDigests) { + if ((!this.RepoTags || this.RepoTags.length === 0) && data.RepoDigests) { this.RepoTags = []; for (var i = 0; i < data.RepoDigests.length; i++) { var digest = data.RepoDigests[i];