diff --git a/packages/nc-gui-v2/components/dashboard/TabView.vue b/packages/nc-gui-v2/components/dashboard/TabView.vue index 54695fa0de..e42570c47b 100644 --- a/packages/nc-gui-v2/components/dashboard/TabView.vue +++ b/packages/nc-gui-v2/components/dashboard/TabView.vue @@ -73,10 +73,8 @@ const onEdit = (targetKey: number, action: string) => { v-if="isUIAllowed('csvImport')" key="quick-import-csv" v-t="['a:actions:import-csv']" - @click=" - fileImportDialog = true - importType = 'csv' - " + @click="fileImportDialog = true" + importType="csv" > @@ -88,10 +86,8 @@ const onEdit = (targetKey: number, action: string) => { v-if="isUIAllowed('jsonImport')" key="quick-import-json" v-t="['a:actions:import-json']" - @click=" - fileImportDialog = true - importType = 'json' - " + @click="fileImportDialog = true" + importType="json" > @@ -103,10 +99,8 @@ const onEdit = (targetKey: number, action: string) => { v-if="isUIAllowed('excelImport')" key="quick-import-excel" v-t="['a:actions:import-excel']" - @click=" - fileImportDialog = true - importType = 'excel' - " + @click="fileImportDialog = true" + importType="excel" > @@ -150,4 +144,4 @@ const onEdit = (targetKey: number, action: string) => { padding: 0px 46px 0px 16px; margin: 0px; } - \ No newline at end of file +