@processmaker/screen-builder 3.8.19 → 3.8.21

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.
@@ -55183,8 +55183,8 @@ const Bie = () => new Promise((t) => {
55183
55183
  * @param {Object} data - The event data containing the tokenId of the task.
55184
55184
  */
55185
55185
  async handleRedirectToTask(t) {
55186
- var e;
55187
- if ((e = t == null ? void 0 : t.params[0]) != null && e.tokenId) {
55186
+ var e, r, i, a;
55187
+ if ((e = t == null ? void 0 : t.params[0]) != null && e.tokenId && ((r = this.task.user) == null ? void 0 : r.id) === ((i = t.params[0]) == null ? void 0 : i.userId) || ((a = this.task.elementDestination) == null ? void 0 : a.type) === "taskSource") {
55188
55188
  if (this.loadingTask = !0, this.task && !(this.task.allow_interstitial || this.isSameUser(this.task, t))) {
55189
55189
  window.location.href = await this.getDestinationUrl();
55190
55190
  return;
@@ -55309,7 +55309,7 @@ var Hie = function() {
55309
55309
  Vie,
55310
55310
  !1,
55311
55311
  null,
55312
- "1e376439",
55312
+ "6447da2e",
55313
55313
  null,
55314
55314
  null
55315
55315
  );