diff --git a/app/static/app/js/components/EditTaskForm.jsx b/app/static/app/js/components/EditTaskForm.jsx index c5aca327..513bec58 100644 --- a/app/static/app/js/components/EditTaskForm.jsx +++ b/app/static/app/js/components/EditTaskForm.jsx @@ -360,7 +360,7 @@ class EditTaskForm extends React.Component { const poly = this.props.getCropPolygon(); if (poly && optionNames['crop'] && optionNames['boundary']){ let cropOpt = optsCopy.find(opt => opt.name === 'crop'); - if (!cropOpt) optsCopy.push({name: 'crop', value: 0}); + if (!cropOpt) optsCopy.push({name: 'crop', value: "0"}); let boundaryOpt = optsCopy.find(opt => opt.name === 'boundary'); if (!boundaryOpt) optsCopy.push({name: 'boundary', value: JSON.stringify(poly)});