LogsTable: Fix default sort by time (#88398)
This commit is contained in:
@@ -174,6 +174,9 @@ export function LogsTable(props: Props) {
|
|||||||
onCellFilterAdded={props.onClickFilterLabel && props.onClickFilterOutLabel ? onCellFilterAdded : undefined}
|
onCellFilterAdded={props.onClickFilterLabel && props.onClickFilterOutLabel ? onCellFilterAdded : undefined}
|
||||||
height={props.height}
|
height={props.height}
|
||||||
footerOptions={{ show: true, reducer: ['count'], countRows: true }}
|
footerOptions={{ show: true, reducer: ['count'], countRows: true }}
|
||||||
|
initialSortBy={[
|
||||||
|
{ displayName: logsFrame?.timeField.name || '', desc: logsSortOrder === LogsSortOrder.Descending },
|
||||||
|
]}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user