mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
simplify loading check
This commit is contained in:
parent
b5f43df6a8
commit
f625706540
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ export class AllListsTable extends React.Component<{}, State> {
|
|||
<Table<List>
|
||||
dataSource={this.state.data}
|
||||
rowKey={record => record.id.toString()}
|
||||
loading={this.state.data.length > 0 ? false : true}
|
||||
loading={this.state.data.length == 0 ? true : false}
|
||||
size="middle"
|
||||
pagination={{ position: "top", size: "small" }} >
|
||||
<Table.Column<List>
|
||||
|
|
|
|||
Loading…
Reference in a new issue