Browse Source

fix(gui-v2): reload data on view change

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2819/head
Pranav C 2 years ago
parent
commit
ab44ca1ab2
  1. 6
      packages/nc-gui-v2/components/smartsheet/Grid.vue

6
packages/nc-gui-v2/components/smartsheet/Grid.vue

@ -50,9 +50,9 @@ onKeyStroke(['Enter'], (e) => {
})
watch(
[() => meta?.value?.id, () => view?.value?.id],
async (n: any, o: any) => {
if (meta?.value && view?.value) {
() => view?.value?.id,
async (n?: string, o?: string) => {
if (n && n !== o) {
await loadData()
}
},

Loading…
Cancel
Save