@processmaker/screen-builder 3.8.21 → 3.8.22-patch-a
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.
|
@@ -55135,7 +55135,12 @@ const Bie = () => new Promise((t) => {
|
|
|
55135
55135
|
* @param {Object} data - The event data received from the socket listener.
|
|
55136
55136
|
*/
|
|
55137
55137
|
handleProcessUpdate(t) {
|
|
55138
|
-
|
|
55138
|
+
if (!this.task) {
|
|
55139
|
+
this.reload();
|
|
55140
|
+
return;
|
|
55141
|
+
}
|
|
55142
|
+
const { event: e, elementDestination: r, tokenId: i } = t;
|
|
55143
|
+
e === "ACTIVITY_COMPLETED" && this.task.id === i && r && (this.task.elementDestination = r, this.task.allow_interstitial = r.type === "displayNextAssignedTask"), e === "ACTIVITY_EXCEPTION" && (this.$emit("error", this.requestId), window.location.href = `/requests/${this.requestId}`);
|
|
55139
55144
|
},
|
|
55140
55145
|
/**
|
|
55141
55146
|
* Adds a socket listener for redirect events.
|
|
@@ -55309,7 +55314,7 @@ var Hie = function() {
|
|
|
55309
55314
|
Vie,
|
|
55310
55315
|
!1,
|
|
55311
55316
|
null,
|
|
55312
|
-
"
|
|
55317
|
+
"b8b1823e",
|
|
55313
55318
|
null,
|
|
55314
55319
|
null
|
|
55315
55320
|
);
|