@provoly/dashboard 0.24.12 → 0.24.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4157,7 +4157,7 @@ class SearchService {
4157
4157
  this.filters[id]
4158
4158
  .filter((filter) => filter.value !== null && filter.value !== undefined)
4159
4159
  .forEach((filter) => {
4160
- params = params.append('filter', `${filter.attribute},${filter.operator},${filter.value}`);
4160
+ params = params.append('filter', `${filter.attribute},${filter.operator},${encodeURIComponent(filter.value.toString())}`);
4161
4161
  });
4162
4162
  }
4163
4163
  if (includeLimit) {
@@ -12016,12 +12016,12 @@ const internalReducer = createReducer(dashboardInitialState, on(DashboardActions
12016
12016
  manifest: {
12017
12017
  ...state.manifests.manifest,
12018
12018
  layerGroups: [
12019
+ ...(state.manifests.manifest.layerGroups ?? []),
12019
12020
  {
12020
12021
  name: action.defaultTitle + ' ' + ((state.manifests.manifest.layerGroups?.length ?? 0) + 1).toString(),
12021
12022
  singleLayer: false,
12022
12023
  visibleLayers: []
12023
- },
12024
- ...(state.manifests.manifest.layerGroups ?? [])
12024
+ }
12025
12025
  ]
12026
12026
  }
12027
12027
  }
@@ -12035,13 +12035,13 @@ const internalReducer = createReducer(dashboardInitialState, on(DashboardActions
12035
12035
  ...(state.manifests.manifest.layerGroups ?? []).map((group) => group.name === action.name
12036
12036
  ? {
12037
12037
  ...group,
12038
- name: action.newName ?? group.name,
12039
- singleLayer: action.singleLayer ?? group.singleLayer,
12040
12038
  visibleLayers: action.visibleLayers
12041
12039
  ? typeof action.visibleLayers === 'string'
12042
12040
  ? [...group.visibleLayers, action.visibleLayers]
12043
12041
  : action.visibleLayers
12044
- : group.visibleLayers
12042
+ : group.visibleLayers,
12043
+ name: action.newName ?? group.name,
12044
+ singleLayer: action.singleLayer ?? group.singleLayer
12045
12045
  }
12046
12046
  : group)
12047
12047
  ]