@@ -244,36 +244,15 @@ const mapLayerActions = [{
244244 {
245245 id : 'filter-layer-data' ,
246246 label : 'mixins.activity.FILTER_DATA_LABEL' ,
247- icon : 'las la-caret-left' ,
248- visible : 'isLayerFilterable' ,
249- component : 'menu/KSubMenu' ,
250- content : [
251- {
252- id : 'edit-layer-filters' ,
253- label : 'mixins.activity.EDIT_FILTERS_LABEL' ,
254- icon : 'las la-filter' ,
255- visible : 'isLayerFilterEditable' ,
256- dialog : {
257- component : 'KFeaturesFilterManager' ,
258- layerId : ':_id' ,
259- layerName : ':name' ,
260- cancelAction : 'CANCEL' ,
261- okAction : { id : 'apply-edit-filter' , label : 'APPLY' , handler : 'apply' }
262- }
263- } ,
264- {
265- id : 'activate-layer-filters' ,
266- label : 'mixins.activity.TOGGLE_FILTERS_ON_LABEL' ,
267- icon : 'las la-toggle-on' ,
268- handler : { name : 'onToggleLayerFilters' , params : [ ':0' , true ] }
269- } ,
270- {
271- id : 'deactivate-layer-filters' ,
272- label : 'mixins.activity.TOGGLE_FILTERS_OFF_LABEL' ,
273- icon : 'las la-toggle-off' ,
274- handler : { name : 'onToggleLayerFilters' , params : [ ':0' , false ] }
275- }
276- ]
247+ icon : 'las la-filter' ,
248+ visible : 'isLayerFilterEditable' ,
249+ dialog : {
250+ component : 'KFeaturesFilterManager' ,
251+ layerId : ':_id' ,
252+ layerName : ':name' ,
253+ cancelAction : 'CANCEL' ,
254+ okAction : { id : 'apply-edit-filter' , label : 'APPLY' , handler : 'apply' }
255+ }
277256 } ,
278257 {
279258 id : 'view-layer-data' ,
0 commit comments