autogen: on search changes reset to first page

Fixes #190

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2020-03-05 15:04:09 +05:30
parent 30fa528593
commit e42a5a9c2b

View File

@ -506,6 +506,7 @@ export default {
},
onSearch (value) {
this.searchQuery = value
this.page = 1
this.fetchData()
},
closeAction () {