added possibility to filter datas
This commit is contained in:
parent
19e6dbd052
commit
98d8cc7bfd
@ -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
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user