mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-32255 Start Process button in start event is showing and failing for form with custom outcomes (#10697)
* [AAE-32255] check if form has visible outcomes * [AAE-32255] readded ? * [AAE-32255] use pipe and observable * [AAE-32255] check if exists
This commit is contained in:
@@ -103,6 +103,10 @@ export abstract class FormBaseComponent {
|
||||
*/
|
||||
formStyle: string = '';
|
||||
|
||||
get hasVisibleOutcomes(): boolean {
|
||||
return this.form?.outcomes?.some((outcome) => this.isOutcomeButtonVisible(outcome, this.form.readOnly));
|
||||
}
|
||||
|
||||
get form(): FormModel {
|
||||
return this._form;
|
||||
}
|
||||
|
Reference in New Issue
Block a user