fix(docker/images): show image tag [EE-5495] (#9051)

pull/9064/head
Chaim Lev-Ari 1 year ago committed by GitHub
parent f799dd86c3
commit 834ab7c158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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];

Loading…
Cancel
Save