Skip to content

Commit 6406fed

Browse files
committed
#1913: Fix - Dataset filtering option missing
1 parent 860eca2 commit 6406fed

File tree

1 file changed

+12
-1
lines changed
  • geonode_mapstore_client/client/js/plugins

1 file changed

+12
-1
lines changed

geonode_mapstore_client/client/js/plugins/index.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import omit from 'lodash/omit';
99
import uniq from 'lodash/uniq';
1010
import {
1111
LayerDownloadActionButton,
12+
FilterLayerActionButton,
1213
FullScreenActionButton,
1314
AddWidgetActionButton
1415
} from '@js/plugins/actionnavbar/buttons';
@@ -124,7 +125,17 @@ export const plugins = {
124125
),
125126
FilterLayerPlugin: toModulePlugin(
126127
'FilterLayer',
127-
() => import(/* webpackChunkName: 'plugins/filter-layer-plugin' */ '@mapstore/framework/plugins/FilterLayer')
128+
() => import(/* webpackChunkName: 'plugins/filter-layer-plugin' */ '@mapstore/framework/plugins/FilterLayer'),
129+
{
130+
overrides: {
131+
containers: {
132+
ActionNavbar: {
133+
name: 'FilterLayer',
134+
Component: FilterLayerActionButton
135+
}
136+
}
137+
}
138+
}
128139
),
129140
MeasurePlugin: toModulePlugin(
130141
'Measure',

0 commit comments

Comments
 (0)