mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14: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()
|
@Input()
|
||||||
isNextTaskCheckboxChecked = false;
|
isNextTaskCheckboxChecked = false;
|
||||||
|
|
||||||
|
/** Toggle rendering of the `Open next task` checkbox. */
|
||||||
|
@Input()
|
||||||
|
showNextTaskCheckbox = false;
|
||||||
|
|
||||||
/** Emitted when the task is saved. */
|
/** Emitted when the task is saved. */
|
||||||
@Output()
|
@Output()
|
||||||
taskSaved = new EventEmitter();
|
taskSaved = new EventEmitter();
|
||||||
|
@ -38,7 +38,8 @@
|
|||||||
[showCancelButton]="showCancelButton"
|
[showCancelButton]="showCancelButton"
|
||||||
[taskName]="taskDetails.name"
|
[taskName]="taskDetails.name"
|
||||||
[taskId]="taskId"
|
[taskId]="taskId"
|
||||||
[isNextTaskCheckboxChecked]="isNextTaskCheckboxChecked && canCompleteTask()"
|
[showNextTaskCheckbox]="showNextTaskCheckbox && canCompleteTask()"
|
||||||
|
[isNextTaskCheckboxChecked]="isNextTaskCheckboxChecked"
|
||||||
|
|
||||||
(cancelTask)="onCancelClick()"
|
(cancelTask)="onCancelClick()"
|
||||||
(claimTask)="onClaimTask()"
|
(claimTask)="onClaimTask()"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user