review documentation (#5407)

This commit is contained in:
Eugenio Romano
2020-01-28 18:06:25 +00:00
committed by GitHub
parent 25e76facd6
commit e70b977a71
35 changed files with 155 additions and 122 deletions

View File

@@ -38,6 +38,7 @@ export class AppsProcessCloudService {
/**
* Gets a list of deployed apps for this user by status.
* @param status Required status value
* @param role to filter the apps
* @returns The list of deployed apps
*/
getDeployedApplicationsByStatus(status: string, role?: string): Observable<ApplicationInstanceModel[]> {

View File

@@ -54,6 +54,7 @@ export class EditProcessFilterCloudComponent implements OnInit, OnChanges, OnDes
@Input()
appName: string = '';
/** roles to filter the apps */
@Input()
role: string = '';
@@ -295,10 +296,6 @@ export class EditProcessFilterCloudComponent implements OnInit, OnChanges, OnDes
return this.getPropertyController(property).errors && this.getPropertyController(property).errors.invalid;
}
/**
* Return true if both filters are same
* @param editedQuery, @param currentQuery
*/
compareFilters(editedQuery: ProcessFilterCloudModel, currentQuery: ProcessFilterCloudModel): boolean {
return JSON.stringify(editedQuery).toLowerCase() === JSON.stringify(currentQuery).toLowerCase();
}