1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-04 13:48:56 +02:00

fix: segment row id for modals (#10437)

Fixing the issue where modal with an active segment (for deletion) can
change which segment it's listing if a new segment that is
alphabetically earlier than the original segment
This commit is contained in:
Tymoteusz Czech 2025-07-30 11:09:07 +02:00 committed by GitHub
parent c5b37fc7c2
commit 3bfed7fb0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,6 +80,7 @@ export const SegmentTable = () => {
defaultColumn: {
Cell: HighlightCell,
},
getRowId: (row: any) => row.id,
},
useGlobalFilter,
useSortBy,