From 1be8d6544f1e6981c23798dbdcedc801dacda08b Mon Sep 17 00:00:00 2001 From: reggie Date: Wed, 6 Mar 2024 14:34:11 +0200 Subject: [PATCH] getQuery unified Signed-off-by: reggie --- ui/src/app/shared/services/applications-service.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/src/app/shared/services/applications-service.ts b/ui/src/app/shared/services/applications-service.ts index f00f928caa16c..243b2e3ccc6da 100644 --- a/ui/src/app/shared/services/applications-service.ts +++ b/ui/src/app/shared/services/applications-service.ts @@ -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 {