@alfresco/adf-process-services 9.2.0-36685063702 → 9.2.0-36738918757
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.
|
@@ -2552,9 +2552,6 @@ class FormComponent extends FormBaseComponent {
|
|
|
2552
2552
|
this.destroyRef = inject(DestroyRef);
|
|
2553
2553
|
}
|
|
2554
2554
|
ngOnInit() {
|
|
2555
|
-
this.formService.outcomeRequested
|
|
2556
|
-
.pipe(filter((request) => request.form === this.form), takeUntilDestroyed(this.destroyRef))
|
|
2557
|
-
.subscribe((request) => this.onOutcomeRequested(request.outcomeId));
|
|
2558
2555
|
this.formService.formContentClicked.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((content) => this.formContentClicked.emit(content));
|
|
2559
2556
|
this.formService.validateForm.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((validateFormEvent) => {
|
|
2560
2557
|
if (validateFormEvent.errorsField.length > 0) {
|
|
@@ -2915,7 +2912,7 @@ class StartFormComponent extends FormComponent {
|
|
|
2915
2912
|
return false;
|
|
2916
2913
|
}
|
|
2917
2914
|
else if (outcome?.name === FormOutcomeModel.START_PROCESS_ACTION) {
|
|
2918
|
-
return
|
|
2915
|
+
return true;
|
|
2919
2916
|
}
|
|
2920
2917
|
return super.isOutcomeButtonVisible(outcome, isFormReadOnly);
|
|
2921
2918
|
}
|