Fix website duplication and show on map nowrap text

master
Letícia Camara 2018-11-14 21:50:02 -02:00
parent 08f8b344d5
commit 7b27e6ef92
1 changed files with 3 additions and 5 deletions

View File

@ -55,12 +55,9 @@ const mapsStyles = {
const columnData = [
{ id: 'name', numeric: false, disablePadding: true, label: 'Name' },
{ id: 'address', numeric: false, disablePadding: true, label: 'Address' },
{ id: 'city', numeric: false, disablePadding: true, label: 'City' },
{ id: 'country', numeric: false, disablePadding: true, label: 'Country' },
{ id: 'phone', numeric: false, disablePadding: true, label: 'Phone' },
{ id: 'link', numeric: false, disablePadding: false, label: 'Website' },
{ id: 'telegram', numeric: false, disablePadding: true, label: 'Telegram' },
{ id: 'website', numeric: false, disablePadding: true, label: 'Website' },
{ id: 'link', numeric: false, disablePadding: false, label: 'Website' },
{ id: 'map', numeric: false, disablePadding: false, label: 'Maps', disableSearch: true}
];
@ -242,7 +239,8 @@ class MerchantsPage extends Component {
variant="contained"
style={{
backgroundColor: "#139657",
color: 'white'
color: 'white',
whiteSpace: 'nowrap'
}}
onClick={() => this.openMaps(
merchant.name,