Browse Source

fix: empty data after editing column name

pull/1931/head
Wing-Kam Wong 3 years ago
parent
commit
ffa0ee23b0
  1. 3
      packages/nc-gui/components/templates/createProjectFromTemplateBtn.vue

3
packages/nc-gui/components/templates/createProjectFromTemplateBtn.vue

@ -162,8 +162,9 @@ export default {
// mark updated column_name
t.columns.map((c) => {
if (c.cn) {
// update column_name if users change it
// the original one will be kept in ref_column_name
c.column_name = c.cn
c.ref_column_name = c.column_name
}
return c
})

Loading…
Cancel
Save