added logs
This commit is contained in:
parent
0cc411b0a0
commit
ac52fb7c79
@ -41,6 +41,7 @@
|
||||
},
|
||||
edit(e) {
|
||||
this.state.filter = e.target.value;
|
||||
console.log(this.state.filter);
|
||||
this.fetchData();
|
||||
this.update();
|
||||
},
|
||||
@ -67,6 +68,7 @@
|
||||
this.update();
|
||||
},
|
||||
async fetchData(){
|
||||
console.log(this.state.filter);
|
||||
let data = await this.execQuery(this.state.search, this.state.filter, this.state.id);
|
||||
this.update({
|
||||
items: data.results
|
||||
@ -92,6 +94,7 @@
|
||||
} else {
|
||||
computeHttpRequest = baseHttpRequest+table;
|
||||
}
|
||||
console.log(computeHttpRequest);
|
||||
return fetch(computeHttpRequest).then(response => {
|
||||
return response.json();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user