Skip to content

Commit

Permalink
hotfix: removed unwanted task split download
Browse files Browse the repository at this point in the history
  • Loading branch information
varun2948 committed Oct 31, 2023
1 parent 182ca4f commit 194be55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/frontend/src/components/createnewproject/SplitTasks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ const SplitTasks = ({ flag, geojsonFile, setGeojsonFile, customLineUpload, custo
}),
);
} else if (splitTasksSelection === 'task_splitting_algorithm') {
const a = document.createElement('a');
a.href = URL.createObjectURL(drawnGeojsonFile);
a.download = 'test.json';
a.click();
// const a = document.createElement('a');
// a.href = URL.createObjectURL(drawnGeojsonFile);
// a.download = 'test.json';
// a.click();
dispatch(
TaskSplittingPreviewService(
`${import.meta.env.VITE_API_URL}/projects/task_split`,
Expand Down

0 comments on commit 194be55

Please sign in to comment.