File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
redisinsight/ui/src/pages
autodiscover-sentinel/sentinel-databases Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,10 @@ export const getSelectionColumn = <T extends object>({
1818 size,
1919 isHeaderCustom : true ,
2020 header : ( { table } ) => (
21- < Table . HeaderMultiRowSelectionButton
22- table = { table }
23- data-testid = "row-selection"
24- />
21+ < Table . HeaderMultiRowSelectionButton table = { table } data-testid = { id } />
2522 ) ,
2623 cell : ( { row } ) => (
27- < Table . RowSelectionButton
28- row = { row }
29- data-testid = { `row-selection-${ row . id } ` }
30- />
24+ < Table . RowSelectionButton row = { row } data-testid = { `${ id } -${ row . id } ` } />
3125 ) ,
3226 }
3327}
Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ export const colFactory = (
196196 }
197197 return cols
198198}
199+
199200export const getRowId = ( row : ModifiedSentinelMaster ) => row . id || ''
200201
201202export const useSentinelDatabasesConfig = ( ) => {
You can’t perform that action at this time.
0 commit comments