Skip to content

Commit

Permalink
getQuery unified
Browse files Browse the repository at this point in the history
Signed-off-by: reggie <[email protected]>
  • Loading branch information
reggie-k committed Mar 6, 2024
1 parent 88df870 commit 1be8d65
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ui/src/app/shared/services/applications-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ function optionsToSearch(options?: QueryOptions) {
}

function getQuery(projects: string[], isFromApps: boolean, options?: QueryOptions): any {
if (isFromApps) {
return {projects, ...optionsToSearch(options)};
} else {
return {...optionsToSearch(options)};
}
// if (isFromApps) {
// return {projects, ...optionsToSearch(options)};
// } else {
return {...optionsToSearch(options)};
// }
}

export class ApplicationsService {
Expand Down

0 comments on commit 1be8d65

Please sign in to comment.