mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3237] Change and remove form from a task (#3597)
* button added for task standalone * rebase fixed * review fix * test added & fixes * refresh task details * change and remove form added * localize & documentation work * tests added * tests fixes * tests fixes
This commit is contained in:
@@ -54,10 +54,9 @@ export class TaskStandaloneComponent {
|
||||
@Output()
|
||||
complete: EventEmitter<void> = new EventEmitter<void>();
|
||||
|
||||
/** Emitted when the form associated with the form task is attached. */
|
||||
@Output()
|
||||
formAttached: EventEmitter<void> = new EventEmitter<void>();
|
||||
|
||||
showAttachForm: boolean = false;
|
||||
showAttachForm: EventEmitter<void> = new EventEmitter<void>();
|
||||
|
||||
constructor() { }
|
||||
|
||||
@@ -82,15 +81,6 @@ export class TaskStandaloneComponent {
|
||||
}
|
||||
|
||||
onShowAttachForm() {
|
||||
this.showAttachForm = true;
|
||||
}
|
||||
|
||||
onCancelAttachForm() {
|
||||
this.showAttachForm = false;
|
||||
}
|
||||
|
||||
onCompleteAttachForm() {
|
||||
this.showAttachForm = false;
|
||||
this.formAttached.emit();
|
||||
this.showAttachForm.emit();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user