Commit 6ce5d68d authored by Elisabeth Reuhl's avatar Elisabeth Reuhl
Browse files

Remove filters from dashboard layout (issue #59)

parent 665c47dc
......@@ -393,19 +393,6 @@ export const AppContent = () => {
*/
<Layout
menu={input.mapControlsExpanded
? <Filters
chronOntologyTerms={chronOntologyTerms}
reducer={[input, dispatch]}
input={input}
regions={regions}
/>
: (
<CollapsedFilters
reducer={[input, dispatch]}
/>
)
}
bigTile={
(input.bigTileArea === "areaA" && renderAreaA())
|| (input.bigTileArea === "areaB" && renderAreaB())
......
......@@ -5,7 +5,7 @@ import { useTheme } from '@material-ui/core/styles';
import useMediaQuery from '@material-ui/core/useMediaQuery';
export const Layout = (props) => {
const {menu, bigTile, leftOrTopTile, topRightOrMiddleTile, bottomRightOrBottomTile, loadingIndicator, rightTileIsMovedToBottomInstead} = props;
const {bigTile, leftOrTopTile, topRightOrMiddleTile, bottomRightOrBottomTile, loadingIndicator, rightTileIsMovedToBottomInstead} = props;
const theme = useTheme();
const classes = useStyles();
......@@ -46,21 +46,6 @@ export const Layout = (props) => {
spacing={2}
>
<Grid
item
xs={12}
md={12}
lg={12}
container
direction="column"
>
{
// collapsed or expanded filters
menu
}
</Grid>
{bigTile && <Grid
className={classes.fullHeightTile}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment