Skip to content

Commit

Permalink
Merge pull request #849 from akvo/feature/719-mobile-assignment-data-…
Browse files Browse the repository at this point in the history
…entry

Fix: Manage Mobile Assignment does not Showing the Village Level
  • Loading branch information
dedenbangkit committed Jan 5, 2024
2 parents ebb0645 + f3b3932 commit bf75f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/mobile-assignment/AddAssignment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const AddAssignment = () => {
admLevels.map((a) => a.id).includes(level) &&
selectedAdm?.[0]?.children?.length > 0;

const showLevel = userAdmLevel !== lowestLevel?.level;
const showLevel = userAdmLevel !== lowestLevel?.id;

const { active: activeLang } = language;
const text = useMemo(() => {
Expand Down

0 comments on commit bf75f21

Please sign in to comment.