From 22e67b424da8b6856ca5ad75d17bfa0ecaa69fc7 Mon Sep 17 00:00:00 2001 From: Varun Date: Fri, 25 Aug 2023 13:59:24 +0545 Subject: [PATCH] fix: organization_id added on create project --- .../main/src/components/createproject/FormSelection.tsx | 3 +-- src/frontend/main/src/store/types/ICreateProject.ts | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/main/src/components/createproject/FormSelection.tsx b/src/frontend/main/src/components/createproject/FormSelection.tsx index e791f11435..6b336e7a6a 100755 --- a/src/frontend/main/src/components/createproject/FormSelection.tsx +++ b/src/frontend/main/src/components/createproject/FormSelection.tsx @@ -92,12 +92,11 @@ const FormSelection: React.FC = ({ customFormFile, setCustomFormFile, custo xform_title: projectDetails.form_ways === 'Upload a Form' ? null : projectDetails.xform_title, dimension: projectDetails.dimension, splitting_algorithm: projectDetails.splitting_algorithm, - organization: projectDetails.organization, form_ways: projectDetails.form_ways, // "uploaded_form": projectDetails.uploaded_form, data_extractWays: projectDetails.data_extractWays, hashtags: arrayHashtag, - organisation_id: projectDetails.organization, + organisation_id: projectDetails.organisation_id, }, newUpdatedTaskGeojsonFile, customFormFile, diff --git a/src/frontend/main/src/store/types/ICreateProject.ts b/src/frontend/main/src/store/types/ICreateProject.ts index 96b73b11df..fbd9fa8a67 100644 --- a/src/frontend/main/src/store/types/ICreateProject.ts +++ b/src/frontend/main/src/store/types/ICreateProject.ts @@ -97,6 +97,7 @@ export type ProjectDetailsTypes = { data_extract_options?: string; data_extractWays?: string; form_ways?: string; + organisation_id: number; }; export type ProjectAreaTypes = {