Remove sort link on the Map column
This commit is contained in:
parent
b958da3bc4
commit
3b4593540f
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ class EnhancedTable extends Component {
|
||||||
const orderBy = property;
|
const orderBy = property;
|
||||||
let order = 'desc';
|
let order = 'desc';
|
||||||
|
|
||||||
|
if(orderBy === 'map') return;
|
||||||
|
|
||||||
if (this.state.orderBy === property && this.state.order === 'desc') {
|
if (this.state.orderBy === property && this.state.order === 'desc') {
|
||||||
order = 'asc';
|
order = 'asc';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue