Skip to content

Commit

Permalink
Revert "fix"
Browse files Browse the repository at this point in the history
This reverts commit 839d0dc.
  • Loading branch information
yesmeck committed Dec 25, 2018
1 parent 48956d5 commit 96e1d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ export default class Table<T> extends React.Component<TableProps<T>, TableState<
}

getColumnKey(column: ColumnProps<T>, index?: number) {
return column.key || (column.dataIndex as string) || index;
return column.key || column.dataIndex || index;
}

getMaxCurrent(total: number) {
Expand Down

0 comments on commit 96e1d77

Please sign in to comment.