Remove sort link on the Map column

This commit is contained in:
Letícia Camara 2018-10-31 14:28:06 -03:00
parent b958da3bc4
commit 3b4593540f

View file

@ -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';
} }