Skip to content

Commit b142765

Browse files
authored
Merge pull request #329 from topcoder-platform/PROD-1555_implement-sorting
PROD-1555 fix filter bug -> PROD-1515_sorting
2 parents 3ce6f80 + 629186f commit b142765

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src-ts/lib/table/Table.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const Table: <T extends { [propertyName: string]: any }>(props: TableProps<T>) =
5959
},
6060
[
6161
sort,
62+
props.data,
6263
])
6364

6465
function toggleSort(fieldName: string): void {

src-ts/lib/table/table-functions/table.functions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Sort } from '../../pagination'
2-
import { TableCellType } from '../table-cell.type'
32
import { TableColumn } from '../table-column.model'
43

54
export function getSorted<T extends { [propertyName: string]: any }>(

0 commit comments

Comments
 (0)