mirror of
https://github.com/portainer/portainer.git
synced 2025-08-01 03:45:22 +02:00
feat(images): use containers instead of /system/df to check unused images (#1150)
This commit is contained in:
parent
a6ef27164c
commit
8c68e92e74
6 changed files with 19 additions and 13 deletions
|
@ -3,8 +3,8 @@ function ImageViewModel(data) {
|
|||
this.Tag = data.Tag;
|
||||
this.Repository = data.Repository;
|
||||
this.Created = data.Created;
|
||||
this.Containers = data.dataUsage ? data.dataUsage.Containers : 0;
|
||||
this.Checked = false;
|
||||
this.RepoTags = data.RepoTags;
|
||||
this.VirtualSize = data.VirtualSize;
|
||||
this.ContainerCount = data.ContainerCount;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue