From 5ae86d456384bfe3c7500db9a36fbfc4089b16ae Mon Sep 17 00:00:00 2001 From: Gabriele Dal Cengio Date: Tue, 4 Jun 2024 15:23:31 -0700 Subject: [PATCH] Missed a line --- src/components/assignRolesAndDistrictsPage/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/assignRolesAndDistrictsPage/index.js b/src/components/assignRolesAndDistrictsPage/index.js index 14722052..27e52ff2 100644 --- a/src/components/assignRolesAndDistrictsPage/index.js +++ b/src/components/assignRolesAndDistrictsPage/index.js @@ -262,7 +262,7 @@ const AssignRolesAndDistrictsPage = () => { selectedDistricts === null || role === null || ( - role?.description === 'Range Agreement Holder' && + role?.id === 4 && selectedDistricts?.length > 0 ) }