Commit 2d157458 authored by ns17's avatar ns17

fixing extracurricularAct

parent 48f9a189
......@@ -310,13 +310,24 @@ class QuotasExtracurricularAct extends Component {
default:
console.log("404");
}
if (this.state.ddValues.estado !== null) {
route = route + "&filter=uf:" + this.state.ddValues.estado;
} else
if (this.state.ddValues.regiao !== null) {
route = route + "&filter=region:" + this.state.ddValues.regiao;
}
this.getDataFromServer(route, head);
// if (head === 'Sócio Racial'){
// if (this.state.ddValues.estado !== null) {
// route = route + "&filter=uf:" + this.state.ddValues.estado;
// } else
// if (this.state.ddValues.regiao !== null) {
// route = route + "&filter=region:" + this.state.ddValues.regiao;
// }
// this.getDataFromServer(route, head);
// }
// else{
if (this.state.ddValues.estado !== null) {
route = route + ",uf:" + this.state.ddValues.estado;
} else
if (this.state.ddValues.regiao !== null) {
route = route + ",region:" + this.state.ddValues.regiao;
}
this.getDataFromServer(route, head);
// }
}
getHeader(e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment