Fix website duplication and show on map nowrap text
This commit is contained in:
parent
08f8b344d5
commit
7b27e6ef92
1 changed files with 3 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue