Skip to content

Commit

Permalink
Merge pull request #356 from akvo/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
wayangalihpratama authored Jun 28, 2024
2 parents 0aecb4a + 147e48d commit 40b001e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/cases/components/IncomeDriverDataEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
removeUndefinedObjectValue,
} from "./";
import { api } from "../../../lib";
import { orderBy, isEqual, isEmpty } from "lodash";
import { orderBy, isEqual } from "lodash";

const MAX_SEGMENT = 5;

Expand Down Expand Up @@ -46,7 +46,7 @@ const IncomeDriverDataEntry = ({
const [currentValues, setCurrentValues] = useState([]);

const isAllSegmentHasBenchmark = useMemo(() => {
const check = formValues.filter((f) => !f.target && !isEmpty(f.answers));
const check = formValues.filter((f) => !f.target);
return check;
}, [formValues]);

Expand Down

0 comments on commit 40b001e

Please # to comment.