diff --git a/new-admin/src/views/mapoptions.jsx b/new-admin/src/views/mapoptions.jsx
index 0ad6e6079..45fe23478 100644
--- a/new-admin/src/views/mapoptions.jsx
+++ b/new-admin/src/views/mapoptions.jsx
@@ -75,7 +75,6 @@ class MapOptions extends Component {
drawerVisible: config.drawerVisible,
drawerVisibleMobile: config.drawerVisibleMobile,
drawerPermanent: config.drawerPermanent,
- drawerStatic: config.drawerStatic,
zoomDelta: config.zoomDelta || "",
zoomDuration: config.zoomDuration || "",
title: config.title ? config.title : "",
@@ -178,7 +177,6 @@ class MapOptions extends Component {
drawerVisible: mapConfig.drawerVisible,
drawerVisibleMobile: mapConfig.drawerVisibleMobile,
drawerPermanent: mapConfig.drawerPermanent,
- drawerStatic: mapConfig.drawerStatic,
activeDrawerOnStart: mapConfig.activeDrawerOnStart
? mapConfig.activeDrawerOnStart
: "plugins",
@@ -369,7 +367,6 @@ class MapOptions extends Component {
case "showRecentlyUsedPlugins":
case "introductionEnabled":
case "introductionShowControlButton":
- case "drawerStatic":
case "drawerVisible":
case "drawVisibleMobile":
case "drawerPermanent":
@@ -448,7 +445,6 @@ class MapOptions extends Component {
config.drawerVisible = this.getValue("drawerVisible");
config.drawerVisibleMobile = this.getValue("drawerVisibleMobile");
config.drawerPermanent = this.getValue("drawerPermanent");
- config.drawerStatic = this.getValue("drawerStatic");
config.activeDrawerOnStart = this.getValue("activeDrawerOnStart");
config.geoserverLegendOptions = this.getValue("geoserverLegendOptions");
config.defaultCookieNoticeMessage = this.getValue(
@@ -1418,32 +1414,6 @@ class MapOptions extends Component {
/>
Inställningar för sidopanel
-
- {
- this.setState({ drawerStatic: e.target.checked });
- if (e.target.checked === true) {
- this.setState({
- drawerPermanent: false,
- drawerVisible: false,
- });
- }
- }}
- checked={this.state.drawerStatic}
- />
-
-
-