Skip to content

Commit

Permalink
fix(dialogTaskActions): add task id filter on odk redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 authored and spwoodcock committed Oct 14, 2024
1 parent ef5e062 commit 381cdb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/components/DialogTaskActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export default function Dialog({ taskId, feature }: dialogPropType) {
);

if (isMobile) {
document.location.href = `odkcollect://form/${projectInfo.xform_id}`;
document.location.href = `odkcollect://form/${projectInfo.xform_id}?task_filter=${taskId}`;
} else {
dispatch(
CommonActions.SetSnackBar({
Expand Down

0 comments on commit 381cdb3

Please sign in to comment.