sr-npm 1.7.128 → 1.7.129

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.128",
3
+ "version": "1.7.129",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/pages/homePage.js CHANGED
@@ -18,8 +18,11 @@ async function homePageOnReady(_$w,thisObject) {
18
18
  $item('#teamButton').onClick(()=>{
19
19
  console.log("itemDataid3########", itemData._id);
20
20
  const department=itemData._id;
21
- console.log(typeof department);
22
- location.to(`/positions?department=${department}`);
21
+ console.log("department length", department.length);
22
+ const trimmedDepartment = department.trim();
23
+
24
+ console.log("trimmedDepartment length", trimmedDepartment.length);
25
+ location.to(`/positions?department=${trimmedDepartment}`);
23
26
 
24
27
  // const currentUrl = await location.url();
25
28
  // console.log("currentUrl@@@@@@@@", currentUrl);