Browse Source

fix(nc-gui): reset link record search query on unmounting component

pull/7751/head
Ramesh Mane 6 months ago
parent
commit
4852dd7efe
  1. 1
      packages/nc-gui/components/virtual-cell/components/ListChildItems.vue
  2. 1
      packages/nc-gui/components/virtual-cell/components/ListItems.vue

1
packages/nc-gui/components/virtual-cell/components/ListChildItems.vue

@ -200,6 +200,7 @@ onMounted(() => {
})
onUnmounted(() => {
childrenListPagination.query = ''
window.removeEventListener('keydown', linkedShortcuts)
})
</script>

1
packages/nc-gui/components/virtual-cell/components/ListItems.vue

@ -242,6 +242,7 @@ onMounted(() => {
})
onUnmounted(() => {
childrenExcludedListPagination.query = ''
window.removeEventListener('keydown', linkedShortcuts)
})
</script>

Loading…
Cancel
Save