Browse Source

fix: load filters on hookid change

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2692/head
Pranav C 2 years ago
parent
commit
745d9bcfdc
  1. 8
      packages/nc-gui/components/project/spreadsheet/components/ColumnFilter.vue

8
packages/nc-gui/components/project/spreadsheet/components/ColumnFilter.vue

@ -305,6 +305,14 @@ export default {
},
immediate: true,
},
hookId: {
async handler(v) {
if (v) {
await this.loadFilter();
}
},
immediate: true,
},
filters: {
handler(v) {
this.$emit('input', v && v.filter(f => (f.fk_column_id && f.comparison_op) || f.is_group));

Loading…
Cancel
Save