Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

fix bug of dict column list #2076

Merged
merged 2 commits into from
Feb 18, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/webui/src/components/trial-detail/TableList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,11 @@ class TableList extends React.Component<TableListProps, TableListState> {

UNSAFE_componentWillReceiveProps(nextProps: TableListProps): void {
const { columnList, tableSource } = nextProps;
this.setState({ tableSourceForSort: tableSource, tableColumns: this.initTableColumnList(columnList) });
this.setState({
tableSourceForSort: tableSource,
tableColumns: this.initTableColumnList(columnList),
allColumnList: this.getAllColumnKeys()
});

}
render(): React.ReactNode {
Expand Down