From 3b4593540f6be5e93563a76fc79d618748885f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Let=C3=ADcia=20Camara?= Date: Wed, 31 Oct 2018 14:28:06 -0300 Subject: [PATCH] Remove sort link on the Map column --- src/components/EnhancedTable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/EnhancedTable.js b/src/components/EnhancedTable.js index a878a7a..8eb820d 100644 --- a/src/components/EnhancedTable.js +++ b/src/components/EnhancedTable.js @@ -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'; }