From 62bcf397ddc158b079e9345ff197c8c770a79ba4 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 27 Nov 2024 17:00:09 -0800 Subject: [PATCH] Fixed: Adding/Editing not replacing Implementation Name --- frontend/src/Store/Selectors/selectSettings.ts | 2 +- frontend/src/typings/pending.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/Store/Selectors/selectSettings.ts b/frontend/src/Store/Selectors/selectSettings.ts index b7b6ab8c7..2fb229e75 100644 --- a/frontend/src/Store/Selectors/selectSettings.ts +++ b/frontend/src/Store/Selectors/selectSettings.ts @@ -93,7 +93,7 @@ function selectSettings( // Return a flattened value if (key === 'implementationName') { - // acc.implementationName = item[key]; + acc.implementationName = item[key]; return acc; } diff --git a/frontend/src/typings/pending.ts b/frontend/src/typings/pending.ts index 13c2123cc..af0dd95e1 100644 --- a/frontend/src/typings/pending.ts +++ b/frontend/src/typings/pending.ts @@ -58,5 +58,6 @@ type Mapped = { }; export type PendingSection = Mapped & { + implementationName?: string; fields?: PendingField[]; };