diff --git a/packages/webapp/src/components/maps-page/index.tsx b/packages/webapp/src/components/maps-page/index.tsx index 56095158..75095ccc 100644 --- a/packages/webapp/src/components/maps-page/index.tsx +++ b/packages/webapp/src/components/maps-page/index.tsx @@ -13,7 +13,7 @@ import InboxTwoToneIcon from '@material-ui/icons/InboxTwoTone'; import { Button, Link, ListItemSecondaryAction, Menu, MenuItem, Tooltip } from '@material-ui/core'; import { MapsList } from './maps-list'; import { FormattedMessage } from 'react-intl'; -const logo = require('../../images/logo-small.svg') +const logoIcon = require('../../images/logo-small.svg') const poweredByIcon = require('../../images/pwrdby-white.svg') type FilterType = 'public' | 'all' | 'starred' | 'shared' | 'label' | 'owned' @@ -83,8 +83,8 @@ const MapsPage = (props: any) => { }), }}> -
- logo +
+ logo
diff --git a/packages/webapp/src/components/maps-page/maps-list/index.tsx b/packages/webapp/src/components/maps-page/maps-list/index.tsx index b2041753..e297b41c 100644 --- a/packages/webapp/src/components/maps-page/maps-list/index.tsx +++ b/packages/webapp/src/components/maps-page/maps-list/index.tsx @@ -68,7 +68,6 @@ interface HeadCell { } const headCells: HeadCell[] = [ - { id: 'starred', numeric: false, disablePadding: false, label: '', style: { width: '20px', padding: '0px' } }, { id: 'name', numeric: false, disablePadding: true, label: 'Name', style: {} }, { id: 'labels', numeric: false, disablePadding: true, style: {} }, { id: 'creator', numeric: false, disablePadding: false, label: 'Creator', style: {} }, @@ -105,8 +104,10 @@ function EnhancedTableHead(props: EnhancedTableProps) { /> + + {headCells.map((headCell) => { - return headCell.label ? ( ) : null} - ) : ( ) - } - )} - + ) + })} + + + ); @@ -333,14 +335,18 @@ export const MapsList = () => { selected={isItemSelected} style={{ border: "0" }} > - + - + handleStarred(e, row.id)}> @@ -348,7 +354,7 @@ export const MapsList = () => { - + @@ -357,11 +363,19 @@ export const MapsList = () => { - {row.labels} - {row.creator} - {row.modified} + + {row.labels} + + + + {row.creator} + - + + {row.modified} + + +