From 8bf8240b54476322ec07db9c23c36db9185c7fbc Mon Sep 17 00:00:00 2001 From: Richard Qi Date: Wed, 7 Aug 2024 10:51:49 -0700 Subject: [PATCH] Bug fix on observation 6 in FOIMOD-2976 --- .../src/components/FOI/customComponents/Records/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms-flow-web/src/components/FOI/customComponents/Records/index.js b/forms-flow-web/src/components/FOI/customComponents/Records/index.js index 833c6447f..87487560e 100644 --- a/forms-flow-web/src/components/FOI/customComponents/Records/index.js +++ b/forms-flow-web/src/components/FOI/customComponents/Records/index.js @@ -2207,7 +2207,7 @@ export const RecordsLog = ({ variant="contained" onClick={addAttachments} color="primary" - disabled={lockRecords || conversionFormats?.length < 1 || (isMinistryCoordinator && divisions.length > 0)} + disabled={lockRecords || conversionFormats?.length < 1 || (isMinistryCoordinator && divisions.length === 0)} > + Upload Records