Browse Source

Fix filter option

pull/1251/head
Hironsan 3 years ago
parent
commit
b4c050c9af
1 changed files with 10 additions and 2 deletions
  1. 12
      frontend/components/tasks/toolbar/ToolbarLaptop.vue

12
frontend/components/tasks/toolbar/ToolbarLaptop.vue

@ -155,11 +155,19 @@ export default Vue.extend({
methods: {
updatePage(page: number) {
this.$router.push({ query: { page: page.toString() }})
this.$router.push({ query: {
page: page.toString(),
isChecked: this.filterOption,
q: this.$route.query.q
}})
},
changeFilter(isChecked: string) {
this.$router.push({ query: { page: '1', isChecked }})
this.$router.push({ query: {
page: '1',
isChecked,
q: this.$route.query.q
}})
},
async updateAutoLabeling(isEnable: boolean) {

Loading…
Cancel
Save