mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-3409] [ADF-3413] Standalone task - Attach/Remove forms bugs (#3670)
* Fix 3409 disable button logic Fix 3413 change the formName based on selected form * [ADF-3409] fixed missing import * [ADF-3409] fixed Observable.of in of
This commit is contained in:
committed by
Eugenio Romano
parent
e1d5ef6ee9
commit
8330ed2879
@@ -31,7 +31,7 @@
|
||||
|
||||
<div class="adf-task-details-core-form">
|
||||
<div *ngIf="isAssigned()">
|
||||
<adf-form *ngIf="hasFormKey() && !showAttachForm" #activitiForm
|
||||
<adf-form *ngIf="isFormComponentVisible()" #activitiForm
|
||||
[showDebugButton]="debugMode"
|
||||
[taskId]="taskDetails.id"
|
||||
[showTitle]="showFormTitle"
|
||||
@@ -48,7 +48,7 @@
|
||||
(error)='onFormError($event)'
|
||||
(executeOutcome)='onFormExecuteOutcome($event)'>
|
||||
</adf-form>
|
||||
<adf-task-standalone *ngIf="!hasFormKey() && !showAttachForm"
|
||||
<adf-task-standalone *ngIf="isTaskStandaloneComponentVisible()"
|
||||
[taskName]="taskDetails.name"
|
||||
[taskId]="taskDetails.id"
|
||||
[isCompleted]="isCompletedTask()"
|
||||
@@ -57,7 +57,7 @@
|
||||
(complete)="onComplete()"
|
||||
(showAttachForm)="onShowAttachForm()">
|
||||
</adf-task-standalone>
|
||||
<adf-attach-form *ngIf="showAttachForm"
|
||||
<adf-attach-form *ngIf="isShowAttachForm()"
|
||||
[taskId]="taskDetails.id"
|
||||
[formKey]="taskDetails.formKey"
|
||||
(cancelAttachForm)="onCancelAttachForm()"
|
||||
|
Reference in New Issue
Block a user