sr-npm 1.7.248 → 1.7.249
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/careersPage.js +3 -3
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const { getAllPositions } = require('../backend/queries');
|
|
2
2
|
const {wixData} = require('wix-data');
|
|
3
|
-
|
|
3
|
+
const { location } = require('@wix/site-location');
|
|
4
4
|
const { window } = require('@wix/site-window');
|
|
5
|
-
const { query,queryParams,to
|
|
5
|
+
const { query,queryParams,to } = require("wix-location-frontend");
|
|
6
6
|
const {
|
|
7
7
|
debounce,
|
|
8
8
|
getFilter,
|
|
@@ -155,7 +155,7 @@ async function bind(_$w) {
|
|
|
155
155
|
|
|
156
156
|
_$w('#positionsRepeater').onItemReady(async ($item, itemData) => {
|
|
157
157
|
$item('#positionItem').onClick(async () => {
|
|
158
|
-
let baseUrl =
|
|
158
|
+
let baseUrl = await location.baseUrl();
|
|
159
159
|
to(`${baseUrl}/jobs/${itemData._id}`);
|
|
160
160
|
});
|
|
161
161
|
});
|