sr-npm 1.7.984 → 1.7.986
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 +1 -1
- package/pages/pagesUtils.js +3 -1
- package/pages/positionPage.js +2 -1
package/package.json
CHANGED
package/pages/pagesUtils.js
CHANGED
|
@@ -93,7 +93,9 @@ function loadPrimarySearchRepeater(_$w) {
|
|
|
93
93
|
if (linkKey && clickedItemData[linkKey] ) {
|
|
94
94
|
console.log("original link: ",clickedItemData[linkKey]);
|
|
95
95
|
console.log("original clickedItemData: ",clickedItemData);
|
|
96
|
-
|
|
96
|
+
console.log(typeof clickedItemData[linkKey]);
|
|
97
|
+
console.log(clickedItemData[linkKey].toString().includes("copy-of-jobs"));
|
|
98
|
+
if(clickedItemData[linkKey].includes("copy-of-jobs")) {
|
|
97
99
|
clickedItemData[linkKey]=clickedItemData[linkKey].replace("copy-of-jobs","jobs")
|
|
98
100
|
}
|
|
99
101
|
console.log("new link: ",clickedItemData[linkKey]);
|
package/pages/positionPage.js
CHANGED
|
@@ -13,7 +13,7 @@ const {
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
async function positionPageOnReady(_$w) {
|
|
16
|
-
|
|
16
|
+
console.log("positionPageOnReady called");
|
|
17
17
|
await bind(_$w);
|
|
18
18
|
|
|
19
19
|
|
|
@@ -32,6 +32,7 @@ async function getCategoryValue(customValues) {
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
async function bind(_$w) {
|
|
35
|
+
console.log("bind called");
|
|
35
36
|
_$w('#datasetJobsItem').onReady(async () => {
|
|
36
37
|
|
|
37
38
|
const item = await _$w('#datasetJobsItem').getCurrentItem();
|