File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/containers/Tenant/Diagnostics/TopQueries Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import React from 'react';
22
33import type { Column } from '@gravity-ui/react-data-table' ;
44import { TableColumnSetup } from '@gravity-ui/uikit' ;
5+ import { isEqual } from 'lodash' ;
56
67import { ResponseError } from '../../../../components/Errors/ResponseError' ;
78import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable' ;
@@ -146,7 +147,7 @@ export const RunningQueriesData = ({
146147 loading = { isFetching && currentData === undefined }
147148 settings = { TOP_QUERIES_TABLE_SETTINGS }
148149 onRowClick = { onRowClick }
149- rowClassName = { ( row ) => b ( 'row' , { active : row === selectedRow } ) }
150+ rowClassName = { ( row ) => b ( 'row' , { active : isEqual ( row , selectedRow ) } ) }
150151 sortOrder = { tableSort }
151152 onSort = { handleTableSort }
152153 />
You can’t perform that action at this time.
0 commit comments