mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fix sorting by size on data streams table (#132833)
This commit is contained in:
parent
dbeee7a88a
commit
b7aded9c9a
1 changed files with 4 additions and 1 deletions
|
@ -105,11 +105,14 @@ export const DataStreamListPage: React.FunctionComponent<{}> = () => {
|
|||
},
|
||||
},
|
||||
{
|
||||
field: 'size_in_bytes_formatted',
|
||||
field: 'size_in_bytes',
|
||||
sortable: true,
|
||||
name: i18n.translate('xpack.fleet.dataStreamList.sizeColumnTitle', {
|
||||
defaultMessage: 'Size',
|
||||
}),
|
||||
render: (_, datastream: DataStream) => {
|
||||
return <>{datastream.size_in_bytes_formatted}</>;
|
||||
},
|
||||
},
|
||||
{
|
||||
name: i18n.translate('xpack.fleet.dataStreamList.actionsColumnTitle', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue