Skip to content

Commit

Permalink
fix(pci-object-storage): size byte units
Browse files Browse the repository at this point in the history
ref: DTCORE-3069
Signed-off-by: Florian Renaut <[email protected]>
  • Loading branch information
frenautvh committed Feb 14, 2025
1 parent 72e9fc1 commit 279eed9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const useDatagridColumn = ({
{
id: 'size',
cell: (props: TIndexedObject) => (
<DataGridTextCell>{formatBytes(props.size, 2)}</DataGridTextCell>
<DataGridTextCell>{formatBytes(props.size, 2, 1024)}</DataGridTextCell>
),
label: t('pci_projects_project_storages_containers_container_size_label'),
},
Expand Down

0 comments on commit 279eed9

Please sign in to comment.