From 82c13eae9e7037e4fa58fd482ea9208cfa6f182a Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Fri, 13 May 2022 17:14:03 -0700 Subject: [PATCH 1/2] update NPM manager. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 112d189df..c4174514e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "UNLICENSED", "engines": { "node": ">=16.0.0", - "npm": ">=7.0.0" + "npm": ">=8.0.0" }, "scripts": { "setup": "yarn && cd client && yarn", From e92827aeb27390fbad91c703d22f8e07abe04f73 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Tue, 17 May 2022 11:23:50 -0700 Subject: [PATCH 2/2] Resolve note saving issue. --- .../note-upsert-modal/note-upsert-modal.container.jsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/client/src/components/note-upsert-modal/note-upsert-modal.container.jsx b/client/src/components/note-upsert-modal/note-upsert-modal.container.jsx index 6d29589a5..a5ff684f7 100644 --- a/client/src/components/note-upsert-modal/note-upsert-modal.container.jsx +++ b/client/src/components/note-upsert-modal/note-upsert-modal.container.jsx @@ -72,13 +72,9 @@ export function NoteUpsertModalContainer({ toggleModalVisible(); } else { logImEXEvent("job_note_insert"); - const AdditionalNoteInserts = Object.keys(relatedros).filter( - (key) => relatedros[key] - ); - console.log( - "🚀 ~ file: note-upsert-modal.container.jsx ~ line 78 ~ handleFinish ~ AdditionalNoteInserts", - AdditionalNoteInserts - ); + const AdditionalNoteInserts = relatedros + ? Object.keys(relatedros).filter((key) => relatedros[key]) + : []; await insertNote({ variables: {