mirror of https://github.com/portainer/portainer
fix(docker/images): show image tag [EE-5495] (#9051)
parent
f799dd86c3
commit
834ab7c158
|
@ -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…
Reference in New Issue