mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4393] TaskHeaderCloud - remove readOnly property (#4599)
This commit is contained in:
committed by
Eugenio Romano
parent
338b208a73
commit
16aaa0f0b3
@@ -7,10 +7,10 @@
|
||||
<button mat-button (click)="goBack()">Cancel</button>
|
||||
<button mat-button color="primary" *ngIf="canCompleteTask()" adf-cloud-complete-task
|
||||
(success)="onCompletedTask()">{{ 'ADF_TASK_LIST.DETAILS.BUTTON.COMPLETE' | translate }}</button>
|
||||
|
||||
|
||||
<button mat-button color="primary" *ngIf="canClaimTask()" adf-cloud-claim-task
|
||||
(success)="onClaimTask()">{{ 'ADF_TASK_LIST.DETAILS.BUTTON.CLAIM' | translate }}</button>
|
||||
|
||||
|
||||
<button mat-button color="primary" *ngIf="canUnClaimTask()" adf-cloud-unclaim-task
|
||||
(success)="onUnclaimTask()">{{ 'ADF_TASK_LIST.DETAILS.BUTTON.UNCLAIM' | translate }}</button>
|
||||
</div>
|
||||
@@ -23,8 +23,7 @@
|
||||
</div>
|
||||
<adf-cloud-task-header fxFlex
|
||||
[appName]="appName"
|
||||
[taskId]="taskId"
|
||||
[readOnly]="readOnly">
|
||||
[taskId]="taskId">
|
||||
</adf-cloud-task-header>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -29,7 +29,6 @@ export class TaskDetailsCloudDemoComponent implements OnInit {
|
||||
taskDetails: TaskDetailsCloudModel;
|
||||
taskId: string;
|
||||
appName: string;
|
||||
readOnly = false;
|
||||
|
||||
constructor(
|
||||
private route: ActivatedRoute,
|
||||
|
Reference in New Issue
Block a user