[ADF-2348] added actions on start and cancel start process buttons (#3543)

This commit is contained in:
Vito
2018-06-29 10:14:30 +01:00
committed by Eugenio Romano
parent d77463af97
commit 0255da80a4
2 changed files with 7 additions and 1 deletions

View File

@@ -428,7 +428,9 @@
<div *ngIf="processId"> <div *ngIf="processId">
<adf-start-process <adf-start-process
[values]="formValues" [values]="formValues"
[appId]="processId"> [appId]="processId"
(start)="closeStartProcess()"
(cancel)="closeStartProcess()">
</adf-start-process> </adf-start-process>
</div> </div>

View File

@@ -474,6 +474,10 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
} }
closeStartProcess() {
this.processId = null;
}
onChangePageSize(event: Pagination): void { onChangePageSize(event: Pagination): void {
this.preference.paginationSize = event.maxItems; this.preference.paginationSize = event.maxItems;
this.changedPageSize.emit(event); this.changedPageSize.emit(event);