From 847eccb2d776b6a4a75ea6b739b7821e0666409c Mon Sep 17 00:00:00 2001 From: Richard Qi Date: Mon, 22 Jul 2024 15:33:09 -0700 Subject: [PATCH] fix observatoin #1 FOIMOD-3300 --- web/src/components/FOI/Home/MCFPersonal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/FOI/Home/MCFPersonal.js b/web/src/components/FOI/Home/MCFPersonal.js index 85a5e1ef8..357ad47e7 100644 --- a/web/src/components/FOI/Home/MCFPersonal.js +++ b/web/src/components/FOI/Home/MCFPersonal.js @@ -166,7 +166,7 @@ const MCFPersonal = ({ _sectionArray.map((section) => { if(_keyword && section.name.toLowerCase().includes(_keyword.toLowerCase())) { newSectionArray.push(section); - } else if(section.divisionid === _selectedSectionValue) { + } else if(section.name === _selectedSectionValue) { newSectionArray.unshift(section); } });