@processmaker/screen-builder 3.8.20 → 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.
package/package.json
CHANGED
package/src/components/task.vue
CHANGED
|
@@ -887,7 +887,11 @@ export default {
|
|
|
887
887
|
* @param {Object} data - The event data containing the tokenId of the task.
|
|
888
888
|
*/
|
|
889
889
|
async handleRedirectToTask(data) {
|
|
890
|
-
if (
|
|
890
|
+
if (
|
|
891
|
+
(data?.params[0]?.tokenId &&
|
|
892
|
+
this.task.user?.id === data.params[0]?.userId) ||
|
|
893
|
+
this.task.elementDestination?.type === 'taskSource'
|
|
894
|
+
) {
|
|
891
895
|
this.loadingTask = true;
|
|
892
896
|
// Check if interstitial tasks are allowed for this task.
|
|
893
897
|
if (this.task && !(this.task.allow_interstitial || this.isSameUser(this.task, data))) {
|