Browse Source

fix(gui): reload data after clearing cell

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

6
packages/nc-gui/components/smartsheet/Row.vue

@ -1,4 +1,5 @@
<script lang="ts" setup> <script lang="ts" setup>
import type { ColumnType } from 'nocodb-sdk'
import type { Row } from '~/lib' import type { Row } from '~/lib'
import { import {
ReloadRowDataHookInj, ReloadRowDataHookInj,
@ -46,7 +47,10 @@ provide(ReloadRowDataHookInj, reloadHook)
defineExpose({ defineExpose({
syncLTARRefs, syncLTARRefs,
clearLTARCell, async clearLTARCell(column: ColumnType) {
await clearLTARCell(column)
reloadViewDataTrigger?.trigger(true)
},
}) })
</script> </script>

Loading…
Cancel
Save