mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(docker/images): show image tag [EE-5495] (#9051)
This commit is contained in:
parent
f799dd86c3
commit
834ab7c158
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue