Reset the appList before calling the API (#4253)

This commit is contained in:
Maurizio Vitale
2019-02-04 14:14:48 +00:00
committed by Eugenio Romano
parent d4aad67b09
commit febd8b6ab1
2 changed files with 2 additions and 0 deletions

View File

@@ -148,6 +148,7 @@ export class EditProcessFilterCloudComponent implements OnChanges {
createAndFilterProperties() {
this.checkMandatoryFilterProperties();
if (this.checkForApplicationNameProperty()) {
this.applicationNames = [];
this.getRunningApplications();
}
this.processFilter = this.retrieveProcessFilter();

View File

@@ -153,6 +153,7 @@ export class EditTaskFilterCloudComponent implements OnChanges {
createAndFilterProperties(): TaskFilterProperties[] {
this.checkMandatoryFilterProperties();
if (this.checkForApplicationNameProperty()) {
this.applicationNames = [];
this.getRunningApplications();
}
this.taskFilter = this.retrieveTaskFilter();