added possibility to filter datas

This commit is contained in:
Matthis FAUVET 2024-06-21 19:33:23 +02:00
parent 19e6dbd052
commit 98d8cc7bfd

View File

@ -25,8 +25,6 @@
</div>
<script>
import "./model";
export default {
async onBeforeMount(props){
let data = await props.items;
@ -67,7 +65,7 @@
this.update();
},
async fetchData(){
let data = await this.execQuery(this.state.search, this.state.filter, this.state.id);
let data = await execQuery(this.state.search, this.state.filter, this.state.id);
this.update({
items: data.results
});