{
const href = buildFilesystemLink(region, headNode, item)
const text = (item as any).MountDir
if (!href) return text
return (
{text}
)
},
sortingField: 'MountDir',
},
{
id: 'name',
header: t('cluster.storage.name'),
cell: item => (item as any).Name,
sortingField: 'Name',
},
{
id: 'type',
header: t('cluster.storage.type'),
cell: item => (item as any).StorageType,
sortingField: 'StorageType',
},
{
id: 'id',
header: t('cluster.storage.id'),
// @ts-expect-error TS(2786) FIXME: 'StorageId' cannot be used as a JSX component.
cell: item => ,
},
]}
items={items}
loadingText={t('cluster.storage.filter.loading')}
pagination={}
filter={
}
/>
)}
{!storage && {t('cluster.storage.noFilesystemsFound')}
}
>
)
}