@mx-cartographer/experiences 6.0.7 → 6.0.8
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/CHANGELOG.md +4 -0
- package/dist/index.es.js +5 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -18676,7 +18676,7 @@ class rR {
|
|
|
18676
18676
|
};
|
|
18677
18677
|
loadBanner = async () => {
|
|
18678
18678
|
try {
|
|
18679
|
-
const t = this.
|
|
18679
|
+
const t = this.user?.guid ?? null, i = t ? await this.bannerApi.getBanner(t) : {};
|
|
18680
18680
|
U(() => {
|
|
18681
18681
|
this.banner = i;
|
|
18682
18682
|
});
|
|
@@ -21230,9 +21230,11 @@ const FR = ({
|
|
|
21230
21230
|
var Xn = /* @__PURE__ */ ((A) => (A[A.Main = 0] = "Main", A[A.RightSide = 1] = "RightSide", A))(Xn || {});
|
|
21231
21231
|
const d3 = g(() => {
|
|
21232
21232
|
const A = vA(), {
|
|
21233
|
-
appDataStore: { banner: t }
|
|
21233
|
+
appDataStore: { banner: t, loadBanner: i, user: n }
|
|
21234
21234
|
} = Ti();
|
|
21235
|
-
return
|
|
21235
|
+
return h.useEffect(() => {
|
|
21236
|
+
i().finally();
|
|
21237
|
+
}, [n]), !t?.redirect_url || !t?.image_url ? null : /* @__PURE__ */ e(
|
|
21236
21238
|
b,
|
|
21237
21239
|
{
|
|
21238
21240
|
sx: {
|