Skip to content

Commit

Permalink
Merge pull request #27 from Equipe-Polaris-DSM-2021/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
GabrielCamargoL authored Oct 10, 2021
2 parents 84c36ef + a0d36d1 commit 9bf9f05
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,14 @@ export default class Sidebar extends Component {
<div className="area-interest-wrap">
<p>
Selecione a área de interesse no mapa
<p>
Ou aperte tecla{" "}
<b>
<FaLongArrowAltUp /> SHIFT
</b>{" "}
e escolha a área desejada
</p>
<br />
Apertando a tecla{" "}
<b>
<FaLongArrowAltUp /> SHIFT
</b>{" "}
e escolha a área desejada
</p>

<div
className="button-select"
onClick={() => {
Expand Down
4 changes: 3 additions & 1 deletion src/context/MapFilterContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class MapFilterProvider extends Component {
];

const inputBody = {
satelliteOptions: ["landsat-8-l1", "sentinel-2-l1c"],
satelliteOptions: form.satelliteOptions,
bbox,

date_initial: form.periodFilter["date-initial"],
Expand All @@ -78,6 +78,8 @@ class MapFilterProvider extends Component {
cloudCover: form.cloudFilter["cloud-range"],
};

console.log(inputBody);

try {
const { data } = await api.post("/satSearch", inputBody);

Expand Down

0 comments on commit 9bf9f05

Please sign in to comment.