mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[AAE-33907] added showNextTaskCheckbox property and moved condition
This commit is contained in:
parent
fcd79d7e9e
commit
a71ba23704
@ -73,6 +73,10 @@ export class TaskScreenCloudComponent implements OnInit {
|
||||
@Input()
|
||||
isNextTaskCheckboxChecked = false;
|
||||
|
||||
/** Toggle rendering of the `Open next task` checkbox. */
|
||||
@Input()
|
||||
showNextTaskCheckbox = false;
|
||||
|
||||
/** Emitted when the task is saved. */
|
||||
@Output()
|
||||
taskSaved = new EventEmitter();
|
||||
|
@ -38,7 +38,8 @@
|
||||
[showCancelButton]="showCancelButton"
|
||||
[taskName]="taskDetails.name"
|
||||
[taskId]="taskId"
|
||||
[isNextTaskCheckboxChecked]="isNextTaskCheckboxChecked && canCompleteTask()"
|
||||
[showNextTaskCheckbox]="showNextTaskCheckbox && canCompleteTask()"
|
||||
[isNextTaskCheckboxChecked]="isNextTaskCheckboxChecked"
|
||||
|
||||
(cancelTask)="onCancelClick()"
|
||||
(claimTask)="onClaimTask()"
|
||||
|
Loading…
x
Reference in New Issue
Block a user