@processmaker/screen-builder 3.8.24 → 3.8.25

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processmaker/screen-builder",
3
- "version": "3.8.24",
3
+ "version": "3.8.25",
4
4
  "scripts": {
5
5
  "dev": "VITE_COVERAGE=true vite",
6
6
  "build": "vite build",
@@ -915,7 +915,8 @@ export default {
915
915
  if (
916
916
  (data?.params[0]?.tokenId &&
917
917
  this.task.user?.id === data.params[0]?.userId) ||
918
- this.task.elementDestination?.type === 'taskSource'
918
+ this.task.elementDestination?.type === 'taskSource' ||
919
+ (data.params[0]?.userId === null && data.params[0]?.userCanClaim === true)
919
920
  ) {
920
921
  this.loadingTask = true;
921
922
  // Check if interstitial tasks are allowed for this task.