From 24f1995ecd8f56ac5630e53175ee15901acdf3fe Mon Sep 17 00:00:00 2001 From: Micheal Wells Date: Mon, 16 Oct 2023 12:09:14 -0700 Subject: [PATCH] current iapp site state + url tweak, add drafts to default recordsets --- appv2/src/UI/Header/Header.tsx | 2 +- appv2/src/UI/Overlay/Records/Records.tsx | 2 +- .../rjsf/business-rules/customValidation.ts | 8 +++---- appv2/src/state/reducers/userSettings.ts | 7 +++++++ appv2/src/state/sagas/iappsite/dataAccess.ts | 21 +++++++++++++++++++ 5 files changed, 34 insertions(+), 6 deletions(-) diff --git a/appv2/src/UI/Header/Header.tsx b/appv2/src/UI/Header/Header.tsx index 5f2cbe3f9..9ed8af2ec 100644 --- a/appv2/src/UI/Header/Header.tsx +++ b/appv2/src/UI/Header/Header.tsx @@ -186,7 +186,7 @@ const IAPPTabMemo = React.memo((props) => { return ( { {userSettingsState?.recordSets?.[set]?.recordSetName === 'All InvasivesBC Activities' || - userSettingsState?.recordSets?.[set]?.recordSetName === 'All IAPP Records' ? ( + userSettingsState?.recordSets?.[set]?.recordSetName === 'All IAPP Records' || userSettingsState.recordSets?.[set]?.recordSetName === 'My Drafts' ? ( <> ) : (