Skip to content

Commit

Permalink
Fixed multiple BBs selection for Jira Tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
dborowiecki committed Dec 30, 2023
1 parent e4d9515 commit 9e4934b
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 9e4934b

Please sign in to comment.