1
0
Fork 0
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:
Anthony Lapenna 2017-08-24 07:53:34 +02:00 committed by GitHub
parent a6ef27164c
commit 8c68e92e74
6 changed files with 19 additions and 13 deletions

View file

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