Skip to content

Commit

Permalink
Merge pull request #190 from GovStackWorkingGroup/fix/jira
Browse files Browse the repository at this point in the history
Fixed multiple BBs selection for Jira Tickets
  • Loading branch information
lruzicki authored Dec 30, 2023
2 parents e4d9515 + 9e4934b commit ff8c3d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/components/form/IRSForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const IRSForm = ({
const { format } = useTranslations();

useEffect(() => {
if (!allData?.length && updatedInterfaceData) {
if (!allData?.length && updatedInterfaceData && updatedInterfaceData.length > 0) {
const updatedData = updatedInterfaceData.map((data) => {
return {
...data,
Expand All @@ -47,7 +47,7 @@ const IRSForm = ({
return;
}

if (!allData?.length && updatedRequirementSpecData) {
if (!allData?.length && updatedRequirementSpecData && updatedRequirementSpecData.length > 0) {
setAllData(updatedRequirementSpecData);

return;
Expand Down

0 comments on commit ff8c3d6

Please sign in to comment.