Skip to content

Commit 86c29cf

Browse files
dsuren1github-actions[bot]
authored andcommitted
#1913: Fix - Dataset filtering option missing (#1914)
(cherry picked from commit d05f04a)
1 parent 3a4fc61 commit 86c29cf

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';
@@ -122,7 +123,17 @@ export const plugins = {
122123
),
123124
FilterLayerPlugin: toModulePlugin(
124125
'FilterLayer',
125-
() => import(/* webpackChunkName: 'plugins/filter-layer-plugin' */ '@mapstore/framework/plugins/FilterLayer')
126+
() => import(/* webpackChunkName: 'plugins/filter-layer-plugin' */ '@mapstore/framework/plugins/FilterLayer'),
127+
{
128+
overrides: {
129+
containers: {
130+
ActionNavbar: {
131+
name: 'FilterLayer',
132+
Component: FilterLayerActionButton
133+
}
134+
}
135+
}
136+
}
126137
),
127138
MeasurePlugin: toModulePlugin(
128139
'Measure',

0 commit comments

Comments
 (0)