From 05c3112b582082a4722ee9e2645641f2489282b2 Mon Sep 17 00:00:00 2001 From: Kevin Jackson <30411845+KevinJJackson@users.noreply.github.com> Date: Tue, 12 Mar 2024 14:05:40 -0400 Subject: [PATCH] bugfix/evaluation-submittal (#217) * fix for submittal payload * version bump 0.15.7 --- package.json | 2 +- .../project/qa-qc/components/modals/newEvaluationModal.jsx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 131388a9..33f0407a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hhd-ui", - "version": "0.15.6", + "version": "0.15.7", "private": true, "dependencies": { "@ag-grid-community/client-side-row-model": "^30.0.3", diff --git a/src/app-pages/project/qa-qc/components/modals/newEvaluationModal.jsx b/src/app-pages/project/qa-qc/components/modals/newEvaluationModal.jsx index 87d3f6d1..a9cc6b81 100644 --- a/src/app-pages/project/qa-qc/components/modals/newEvaluationModal.jsx +++ b/src/app-pages/project/qa-qc/components/modals/newEvaluationModal.jsx @@ -39,11 +39,10 @@ const defaultFormState = { instruments: [], start_date: '', end_date: '', - alert_config_id: null, - submittal_id: '', + submittal_id: null, }; -const optionalFields = ['alert_config_id', 'submittal_id']; +const optionalFields = ['submittal_id']; const NewEvaluationModal = connect( 'doModalClose',