@processmaker/screen-builder 3.5.1 → 3.5.2
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/dist/vue-form-builder.css +1 -1
- package/dist/vue-form-builder.es.js +3 -6
- package/dist/vue-form-builder.es.js.map +1 -1
- package/dist/vue-form-builder.umd.js +2 -2
- package/dist/vue-form-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/inspector/options-list.vue +0 -8
- package/src/components/task.vue +8 -1
package/package.json
CHANGED
|
@@ -401,14 +401,6 @@ export default {
|
|
|
401
401
|
if (this.endPointList.length > 0) {
|
|
402
402
|
this.selectedEndPoint = this.endPointList[0].value;
|
|
403
403
|
}
|
|
404
|
-
},
|
|
405
|
-
renderAs(val) {
|
|
406
|
-
if (this.dataSource === 'provideData') {
|
|
407
|
-
if (val !== 'dropdown') {
|
|
408
|
-
// add aria label field when renderAs is not dropdown
|
|
409
|
-
this.optionsListExtra = this.optionsList.map(option => ({...option, [this.ariaLabelField]: ''}));
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
404
|
}
|
|
413
405
|
},
|
|
414
406
|
computed: {
|
package/src/components/task.vue
CHANGED
|
@@ -880,12 +880,19 @@ export default {
|
|
|
880
880
|
this.loadingTask = true;
|
|
881
881
|
// Check if interstitial tasks are allowed for this task.
|
|
882
882
|
if (this.task && !(this.task.allow_interstitial || this.isSameUser(this.task, data))) {
|
|
883
|
-
|
|
883
|
+
// The getDestinationUrl() function is called asynchronously to retrieve the URL
|
|
884
884
|
window.location.href = await this.getDestinationUrl();
|
|
885
885
|
return;
|
|
886
886
|
}
|
|
887
887
|
this.nodeId = data.params[0].nodeId;
|
|
888
888
|
this.taskId = data.params[0].tokenId;
|
|
889
|
+
|
|
890
|
+
// Force a redirect to ensure the correct task is loaded immediately for ConversationalForm.
|
|
891
|
+
// This prevents async reloads that may cause inconsistencies specific to ConversationalForm.
|
|
892
|
+
if (this.renderComponent === "ConversationalForm") {
|
|
893
|
+
window.location.href = `/tasks/${this.taskId}/edit`;
|
|
894
|
+
}
|
|
895
|
+
|
|
889
896
|
this.reload();
|
|
890
897
|
}
|
|
891
898
|
},
|