Browse Source

fix(gui-v2): incorrect position

pull/2795/head
Wing-Kam Wong 2 years ago
parent
commit
61cef93940
  1. 20
      packages/nc-gui-v2/components/dashboard/TabView.vue

20
packages/nc-gui-v2/components/dashboard/TabView.vue

@ -73,10 +73,8 @@ const onEdit = (targetKey: number, action: string) => {
v-if="isUIAllowed('csvImport')" v-if="isUIAllowed('csvImport')"
key="quick-import-csv" key="quick-import-csv"
v-t="['a:actions:import-csv']" v-t="['a:actions:import-csv']"
@click=" @click="fileImportDialog = true"
fileImportDialog = true importType="csv"
importType = 'csv'
"
> >
<span> <span>
<MdiCsvIcon class="text-primary mdi-icons" /> <MdiCsvIcon class="text-primary mdi-icons" />
@ -88,10 +86,8 @@ const onEdit = (targetKey: number, action: string) => {
v-if="isUIAllowed('jsonImport')" v-if="isUIAllowed('jsonImport')"
key="quick-import-json" key="quick-import-json"
v-t="['a:actions:import-json']" v-t="['a:actions:import-json']"
@click=" @click="fileImportDialog = true"
fileImportDialog = true importType="json"
importType = 'json'
"
> >
<span> <span>
<MdiJSONIcon class="text-primary mdi-icons" /> <MdiJSONIcon class="text-primary mdi-icons" />
@ -103,10 +99,8 @@ const onEdit = (targetKey: number, action: string) => {
v-if="isUIAllowed('excelImport')" v-if="isUIAllowed('excelImport')"
key="quick-import-excel" key="quick-import-excel"
v-t="['a:actions:import-excel']" v-t="['a:actions:import-excel']"
@click=" @click="fileImportDialog = true"
fileImportDialog = true importType="excel"
importType = 'excel'
"
> >
<span> <span>
<MdiExcelIcon class="text-primary mdi-icons" /> <MdiExcelIcon class="text-primary mdi-icons" />
@ -150,4 +144,4 @@ const onEdit = (targetKey: number, action: string) => {
padding: 0px 46px 0px 16px; padding: 0px 46px 0px 16px;
margin: 0px; margin: 0px;
} }
</style> </style>

Loading…
Cancel
Save