Remove sort link on the Map column

mx
Letícia Camara 2018-10-31 14:28:06 -03:00
parent b958da3bc4
commit 3b4593540f
1 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,8 @@ class EnhancedTable extends Component {
const orderBy = property;
let order = 'desc';
if(orderBy === 'map') return;
if (this.state.orderBy === property && this.state.order === 'desc') {
order = 'asc';
}