From f5967de6428572d425fe039e928fcd39b8e1dd32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Nagygy=C3=B6rgy?= Date: Thu, 28 Nov 2024 11:47:51 +0100 Subject: [PATCH] fix: lint --- web/crux-ui/src/pages/[teamSlug]/deployments.tsx | 3 +-- web/crux/src/app/deploy/deploy.service.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/web/crux-ui/src/pages/[teamSlug]/deployments.tsx b/web/crux-ui/src/pages/[teamSlug]/deployments.tsx index 24a93a550..dd014d940 100644 --- a/web/crux-ui/src/pages/[teamSlug]/deployments.tsx +++ b/web/crux-ui/src/pages/[teamSlug]/deployments.tsx @@ -5,7 +5,6 @@ import useCopyDeploymentState from '@app/components/deployments/use-copy-deploym import { Layout } from '@app/components/layout' import SelectNodeChips from '@app/components/nodes/select-node-chips' import { BreadcrumbLink } from '@app/components/shared/breadcrumb' -import Filters from '@app/components/shared/filters' import PageHeading from '@app/components/shared/page-heading' import { PaginationSettings } from '@app/components/shared/paginator' import DyoButton from '@app/elements/dyo-button' @@ -81,7 +80,7 @@ const DeploymentsPage = () => { take: pagination.pageSize, filter: !filter.filter || filter.filter.trim() === '' ? null : filter.filter, nodeId: filterNode?.id ?? null, - status: status, + status, } const res = await fetch(routes.deployment.api.list(query)) diff --git a/web/crux/src/app/deploy/deploy.service.ts b/web/crux/src/app/deploy/deploy.service.ts index a86b4e0c7..2657147aa 100644 --- a/web/crux/src/app/deploy/deploy.service.ts +++ b/web/crux/src/app/deploy/deploy.service.ts @@ -851,7 +851,7 @@ export default class DeployService { } if (query.filter) { - const filter = query.filter + const { filter } = query where = { ...where, OR: [