From 834ab7c158ebaae6f2944e7893673fc75f998c75 Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Sun, 11 Jun 2023 08:55:19 +0700 Subject: [PATCH] fix(docker/images): show image tag [EE-5495] (#9051) --- app/docker/models/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];