@processmaker/screen-builder 3.8.28 → 3.8.29

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.
@@ -22707,9 +22707,15 @@ const tl = {
22707
22707
  if (a)
22708
22708
  return Promise.resolve({ data: a });
22709
22709
  const n = new Promise((s, o) => {
22710
- this.get(`${i}/${t}${e}`).then((u) => {
22711
- u.data.nested && this.addNestedScreenCache(u.data.nested), s(u);
22712
- }).catch((u) => o(u));
22710
+ let u = e || "";
22711
+ const l = this.authQueryString();
22712
+ if (l && !u.includes("request_id=")) {
22713
+ const c = l.startsWith("?") ? l.slice(1) : l;
22714
+ u ? u += `${u.includes("?") ? "&" : "?"}${c}` : u = `?${c}`;
22715
+ }
22716
+ this.get(`${i}/${t}${u}`).then((c) => {
22717
+ c.data.nested && this.addNestedScreenCache(c.data.nested), s(c);
22718
+ }).catch((c) => o(c));
22713
22719
  });
22714
22720
  return this.cachedScreenPromises.push({ id: t, query: e, screenPromise: n }), n;
22715
22721
  },
@@ -47463,7 +47469,7 @@ const Dp = s$.exports, Og = [
47463
47469
  text: e.name,
47464
47470
  value: e.id
47465
47471
  }))
47466
- ];
47472
+ ], this.collectionId && this.updateScreenIds();
47467
47473
  });
47468
47474
  },
47469
47475
  getFields() {