Browse Source

fix(nc-gui): column search reset

pull/6292/head
reenphygeorge 1 year ago
parent
commit
6633d7a1ff
  1. 8
      packages/nc-gui/components/smartsheet/toolbar/SearchData.vue

8
packages/nc-gui/components/smartsheet/toolbar/SearchData.vue

@ -58,14 +58,6 @@ const displayColumnLabel = computed(() => {
return columns.value?.find((column) => column.primaryValue)?.label return columns.value?.find((column) => column.primaryValue)?.label
}) })
watch(
() => (meta.value as TableType)?.columns,
() => {
if (columns.value && search.value) search.value.field = columns.value.find((column) => column.primaryValue)?.value
},
{ immediate: true },
)
watchDebounced( watchDebounced(
() => search.value.query, () => search.value.query,
() => { () => {

Loading…
Cancel
Save