Browse Source

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

pull/7751/head
Ramesh Mane 7 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(() => { onUnmounted(() => {
childrenListPagination.query = ''
window.removeEventListener('keydown', linkedShortcuts) window.removeEventListener('keydown', linkedShortcuts)
}) })
</script> </script>

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

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

Loading…
Cancel
Save