sfc-utils 1.4.129 → 1.4.131
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/accountswap.js +2 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/accountswap.js
CHANGED
|
@@ -29,11 +29,12 @@ const pollForAccount = async function (i, isNav) {
|
|
|
29
29
|
return await pollForAccount(i + 1, isNav);
|
|
30
30
|
}
|
|
31
31
|
subButtonText.innerText = "Account";
|
|
32
|
-
// subButton.setAttribute("href", accountURL);
|
|
33
32
|
// Instead of having a true link, set click event to run treg.realm.iframeProfile.NavigateToIndex()
|
|
34
33
|
subButton.onclick = function () {
|
|
35
34
|
window.treg.realm.iframeProfile.NavigateToIndex();
|
|
36
35
|
};
|
|
36
|
+
// Remove the old href since we're relying on the method
|
|
37
|
+
subButton.removeAttribute("href");
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
return true;
|
package/index.js
CHANGED
|
@@ -99,7 +99,7 @@ let blendHDN = function (meta) {
|
|
|
99
99
|
|
|
100
100
|
// HDN.dataLayer object for content and href data
|
|
101
101
|
HDN.dataLayer.content.title = meta.DISPLAY_TITLE || TITLE;
|
|
102
|
-
HDN.dataLayer.content.subtitle = "";
|
|
102
|
+
HDN.dataLayer.content.subtitle = meta.PROJECT.DECK || "";
|
|
103
103
|
HDN.dataLayer.content.objectId = `${SUBFOLDER}${slash}${SLUG}/${URL_ADD}`;
|
|
104
104
|
HDN.dataLayer.content.objectType = "project";
|
|
105
105
|
|