mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 00:09:40 +02:00
feat(image-details): Show labels in images datatable (#4287)
* feat(images): show labels in images datatable * move labels to image details view
This commit is contained in:
parent
6a504e7134
commit
b9fe8009dd
3 changed files with 13 additions and 1 deletions
|
@ -4,7 +4,6 @@ export function ImageViewModel(data) {
|
|||
this.Repository = data.Repository;
|
||||
this.Created = data.Created;
|
||||
this.Checked = false;
|
||||
|
||||
this.RepoTags = data.RepoTags;
|
||||
if (!this.RepoTags && data.RepoDigests) {
|
||||
this.RepoTags = [];
|
||||
|
@ -21,6 +20,7 @@ export function ImageViewModel(data) {
|
|||
if (data.Portainer && data.Portainer.Agent && data.Portainer.Agent.NodeName) {
|
||||
this.NodeName = data.Portainer.Agent.NodeName;
|
||||
}
|
||||
this.Labels = data.Labels;
|
||||
}
|
||||
|
||||
export function ImageBuildModel(data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue