Browse Source

chore(gui-v2): lint

pull/3439/head
Wing-Kam Wong 2 years ago
parent
commit
edaabf0276
  1. 2
      packages/nc-gui-v2/components/template/Editor.vue

2
packages/nc-gui-v2/components/template/Editor.vue

@ -524,7 +524,7 @@ function handleEditableTnChange(idx: number) {
data.tables[idx].ref_table_name = oldValue
} else {
prevEditableTn.value[idx] = newValue
if (oldValue != newValue) {
if (oldValue !== newValue) {
// update the key name of importData
delete Object.assign(importData, { [newValue]: importData[oldValue] })[oldValue]
}

Loading…
Cancel
Save