Browse Source

pref: fix lint problem

pull/13460/head
zy410419243 6 years ago
committed by 偏右
parent
commit
374c831822
  1. 2
      components/table/Table.tsx

2
components/table/Table.tsx

@ -785,7 +785,7 @@ export default class Table<T> extends React.Component<TableProps<T>, TableState<
const key = this.getColumnKey(column, i) as string;
let filterDropdown;
let sortButton;
let sortTitle = this.getColumnTitle(column.title, {}) || locale.sortTitle;
const sortTitle = this.getColumnTitle(column.title, {}) || locale.sortTitle;
const isSortColumn = this.isSortColumn(column);
if ((column.filters && column.filters.length > 0) || column.filterDropdown) {
const colFilters = key in filters ? filters[key] : [];

Loading…
Cancel
Save