From 6b66db7d7e30900da382304424f77b85d1116d4e Mon Sep 17 00:00:00 2001 From: Nishit Suwal <81785002+NSUWAL123@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:41:06 +0545 Subject: [PATCH] fix (createNewProject): upload area & divided task geojson cleared on project submission (#1010) --- src/frontend/src/store/slices/CreateProjectSlice.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/src/store/slices/CreateProjectSlice.ts b/src/frontend/src/store/slices/CreateProjectSlice.ts index 38ebf6767b..90c1d98db0 100755 --- a/src/frontend/src/store/slices/CreateProjectSlice.ts +++ b/src/frontend/src/store/slices/CreateProjectSlice.ts @@ -87,6 +87,9 @@ const CreateProject = createSlice({ state.generateProjectLog = null; state.generateProjectLogLoading = false; state.isUnsavedChanges = false; + state.uploadAreaSelection = null; + state.dividedTaskGeojson = null; + state.dividedTaskLoading = false; }, UploadAreaLoading(state, action) { state.projectAreaLoading = action.payload;