From 0cc411b0a0eefa69ffd57008d04c1346de5343d8 Mon Sep 17 00:00:00 2001 From: Fauvet Matthis Date: Fri, 21 Jun 2024 19:42:44 +0200 Subject: [PATCH] Allow user to filter --- onzer.riot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/onzer.riot b/onzer.riot index 68ee12f..722ab2c 100644 --- a/onzer.riot +++ b/onzer.riot @@ -40,7 +40,9 @@ this.update(); }, edit(e) { - console.log(e); + this.state.filter = e.target.value; + this.fetchData(); + this.update(); }, click(e) { e.preventDefault();