fix: style issues
This commit is contained in:
@@ -52,7 +52,7 @@ const useStorageColumns = ({
|
||||
dataIndex: ['spec', 'capacity'],
|
||||
key: 'capacity',
|
||||
sorter: false,
|
||||
render: (value: string) => value ?? '-'
|
||||
render: (value: string) => (value ? value.replace(/Gi$/, 'GB') : '-')
|
||||
},
|
||||
{
|
||||
title: intl.formatMessage({ id: 'common.table.status' }),
|
||||
|
||||
Reference in New Issue
Block a user