1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 05:15:25 +02:00

fix(docker/images): show empty size cell [EE-5823] (#9954)

This commit is contained in:
Chaim Lev-Ari 2023-08-03 21:19:58 +02:00 committed by GitHub
parent acf9203580
commit 1cecbd7177
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,6 @@ export const size = columnHelper.accessor('VirtualSize', {
header: 'Size', header: 'Size',
cell: ({ getValue }) => { cell: ({ getValue }) => {
const value = getValue(); const value = getValue();
return humanize(value); return humanize(value) || '-';
}, },
}); });