From 3933fd2ebb54f3cd55fe2ffbaeebeb3e57cabdab Mon Sep 17 00:00:00 2001 From: Carson Full Date: Thu, 12 Jun 2025 13:46:00 -0500 Subject: [PATCH] Fix Project.engagements() with input.filter.project usage New ECMA class fields have all properties defined as undefined. Keys are not optional. So ```ts { id: project.id, ...{ id: undefined }, } ``` So undefined overrides our id instead of us forcing it. --- src/components/project/project.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/project/project.service.ts b/src/components/project/project.service.ts index 418bddb328..2971ee8708 100644 --- a/src/components/project/project.service.ts +++ b/src/components/project/project.service.ts @@ -355,8 +355,8 @@ export class ProjectService { filter: { ...input.filter, project: { - id: project.id, ...input.filter?.project, + id: project.id, }, }, }, @@ -383,8 +383,8 @@ export class ProjectService { filter: { ...input.filter, project: { - id: project.id, ...input.filter?.project, + id: project.id, }, }, });