Skip to content

Commit e4451e3

Browse files
committed
Addressing changes requested by Raphael
1 parent 0f2340a commit e4451e3

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Components/MainTableView/TableView.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React from 'react';
2-
import JSON5 from 'json5';
32
import "./TableView.css";
43

54
// Component imports

src/Components/SideMenu/TableList.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,7 @@ export default class TableList extends React.Component<TableListProps, TableList
169169
this.parseTableEntry(tableList, this.props.tableListDict.lookup_tables, TableType.LOOKUP, partTableDict);
170170
this.parseTableEntry(tableList, this.props.tableListDict.imported_tables, TableType.IMPORTED, partTableDict);
171171

172-
console.log(tableList);
173172
tableList = this.sortTableList(tableList, this.state.currentTableSortMode);
174-
console.log(tableList);
175173
// Update the state and reset sort mode to ATOZ
176174
this.setState({tableList: tableList, restrictedTableList: tableList, searchString: ''});
177175
}
@@ -199,7 +197,7 @@ export default class TableList extends React.Component<TableListProps, TableList
199197

200198
if (sortMode === TableSortMode.A_TO_Z_BY_TIER) {
201199
// Sort by name for each tier from A to Z
202-
for (let tableTierKey of Object.keys(tableListsByTiers)) {
200+
for (let tableTierKey of Object.keys(tableListsByTiers)) {
203201
(tableListsByTiers[tableTierKey] as Array<ParentTableListEntry>).sort(function(a: TableListEntry, b: TableListEntry) {
204202
let aLowerCase = a.tableName.toLowerCase();
205203
let bLowerCase = b.tableName.toLowerCase();

0 commit comments

Comments
 (0)