@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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## [6.0.8] - 05-02-2025
2
+
3
+ - **FIXED** - Missing `loadBanner` call for `Banner` data
4
+
1
5
  ## [6.0.7] - 05-02-2025
2
6
 
3
7
  - **FIXED** - Recurring Activity Widget | adjust width & title
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.appData.user.guid, i = t ? await this.bannerApi.getBanner(t) : {};
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 !t?.redirect_url || !t?.image_url ? null : /* @__PURE__ */ e(
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: {