Browse Source

feat(nc-gui): add col titles to changedColumns if they are preset

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
cab4bf0918
  1. 7
      packages/nc-gui/components/smartsheet/expanded-form/index.vue

7
packages/nc-gui/components/smartsheet/expanded-form/index.vue

@ -93,6 +93,13 @@ reloadHook.on(() => {
}) })
provide(ReloadRowDataHookInj, reloadHook) provide(ReloadRowDataHookInj, reloadHook)
// adding column titles to changedColumns if they are preset (e.g. kanban)
for (const [k, v] of Object.entries(row.value.row)) {
if (v) {
changedColumns.value.add(k)
}
}
</script> </script>
<script lang="ts"> <script lang="ts">

Loading…
Cancel
Save