sr-npm 1.7.219 → 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.219",
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) {
@@ -357,11 +358,11 @@ async function updateMapMarkers(_$w){
357
358
  console.log("markers: ", markers);
358
359
  console.log("type of markers: ", typeof markers);
359
360
  //@ts-ignore
360
- await _$w('#googleMaps').setMarkers(markers);
361
+ _$w('#googleMaps').setMarkers(markers);
361
362
  }
362
363
  else{
363
364
  console.log("no positions found");
364
- await _$w('#googleMaps').setMarkers({
365
+ _$w('#googleMaps').setMarkers({
365
366
  location: {
366
367
  latitude: 0,
367
368
  longitude: 0