From edaabf0276fb833934b14d57e022e03f89c71ccb Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 1 Sep 2022 21:54:42 +0800 Subject: [PATCH] chore(gui-v2): lint --- packages/nc-gui-v2/components/template/Editor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/components/template/Editor.vue b/packages/nc-gui-v2/components/template/Editor.vue index 87c87c612c..df58f5c27c 100644 --- a/packages/nc-gui-v2/components/template/Editor.vue +++ b/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] }