diff --git a/onzer.riot b/onzer.riot index 722ab2c..7db1794 100644 --- a/onzer.riot +++ b/onzer.riot @@ -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(); });