From a762d5cf61f340904df86951457d7db2835c0226 Mon Sep 17 00:00:00 2001 From: NSUWAL123 Date: Thu, 26 Sep 2024 16:48:50 +0545 Subject: [PATCH 1/2] fix(qrcode): increase qrcode size --- .../src/components/ProjectDetailsV2/MapControlComponent.tsx | 2 +- src/frontend/src/components/QrcodeComponent.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/components/ProjectDetailsV2/MapControlComponent.tsx b/src/frontend/src/components/ProjectDetailsV2/MapControlComponent.tsx index d7582df37..bce5a0708 100644 --- a/src/frontend/src/components/ProjectDetailsV2/MapControlComponent.tsx +++ b/src/frontend/src/components/ProjectDetailsV2/MapControlComponent.tsx @@ -74,7 +74,7 @@ const MapControlComponent = ({ map, projectName, pmTileLayerData }: mapControlCo }; return ( -
+
{btnList.map((btn) => (
{ return (
-
+
{qrcode == '' ? ( ) : ( From 4d61cd26ebb5c459598e27970761a29a9549f3af Mon Sep 17 00:00:00 2001 From: NSUWAL123 Date: Thu, 26 Sep 2024 16:49:44 +0545 Subject: [PATCH 2/2] fix(dialogTaskActions): add task id filter on odk redirect --- src/frontend/src/components/DialogTaskActions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/DialogTaskActions.tsx b/src/frontend/src/components/DialogTaskActions.tsx index a9692f986..cac25bb9d 100755 --- a/src/frontend/src/components/DialogTaskActions.tsx +++ b/src/frontend/src/components/DialogTaskActions.tsx @@ -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({