sr-npm 1.7.218 → 1.7.220

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.218",
3
+ "version": "1.7.220",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -259,9 +259,10 @@ async function resetFilters(_$w) {
259
259
  _$w('#resetFiltersButton').disable();
260
260
 
261
261
  queryParams.remove(["keyWord", "department","page","location"]);
262
- await updateMapMarkers(_$w);
262
+
263
263
 
264
264
  await updateCount(_$w);
265
+ await updateMapMarkers(_$w);
265
266
  }
266
267
 
267
268
  async function updateCount(_$w) {
@@ -361,13 +362,13 @@ async function updateMapMarkers(_$w){
361
362
  }
362
363
  else{
363
364
  console.log("no positions found");
364
- _$w('#googleMaps').setMarkers([{
365
+ _$w('#googleMaps').setMarkers({
365
366
  location: {
366
367
  latitude: 0,
367
368
  longitude: 0
368
369
  },
369
370
  address: "No positions found",
370
- }]);
371
+ });
371
372
  }
372
373
  }
373
374