Skip to content

Commit 379000c

Browse files
authored
Merge pull request #637 from Bonymol-aot/FWF-4872/roles-persist-fix
FWF-4872:[BugFix] roles not saving in field filter fixed
2 parents 5f9ef6b + ee6edbe commit 379000c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

forms-flow-review/src/components/AttributeFilterModal/AttributeFIlterModalBody.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ const AttributeFilterModalBody = ({ onClose, toggleUpdateModal, updateSuccess, t
8686
//Handle if existing data is there need to set it in attributeData
8787
const [attributeData, setAttributeData] = useState(() => {
8888
const initialData = {
89-
assignee: attributeFilter?.criteria?.assignee || ""
89+
assignee: attributeFilter?.criteria?.assignee || "",
90+
roles: attributeFilter?.criteria?.candidateGroup || ""
9091
};
9192

9293
const existingValues = (

0 commit comments

Comments
 (0)