diff --git a/packages/renderer/src/lib/image/image-utils.ts b/packages/renderer/src/lib/image/image-utils.ts index eb5e98a7e242e..7fe0ee5fee5c7 100644 --- a/packages/renderer/src/lib/image/image-utils.ts +++ b/packages/renderer/src/lib/image/image-utils.ts @@ -184,7 +184,7 @@ export class ImageUtils { tag: '', base64RepoTag: this.getBase64EncodedName(''), selected: false, - status: this.getInUse(imageInfo, containersInfo) ? 'USED' : 'UNUSED', + status: this.getInUse(imageInfo, undefined, containersInfo) ? 'USED' : 'UNUSED', badges, icon, labels: imageInfo.Labels, @@ -205,7 +205,7 @@ export class ImageUtils { tag: this.getTag(repoTag), base64RepoTag: this.getBase64EncodedName(repoTag), selected: false, - status: this.getInUse(imageInfo, containersInfo) ? 'USED' : 'UNUSED', + status: this.getInUse(imageInfo, repoTag, containersInfo) ? 'USED' : 'UNUSED', badges, icon, labels: imageInfo.Labels,