Browse Source

fix: reset page on filter

re #766

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/805/head
Pranav C 3 years ago
parent
commit
606cce4b06
  1. 3
      packages/nc-gui/components/project/spreadsheet/components/pagination.vue

3
packages/nc-gui/components/project/spreadsheet/components/pagination.vue

@ -44,6 +44,9 @@ export default {
watch: {
value(v) {
this.page = v
},
count(c) {
this.$emit('input', Math.min(this.page, Math.ceil(c / this.size)))
}
},
mounted() {

Loading…
Cancel
Save