Browse Source

fix(gui-v2): tab icon

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

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

@ -36,8 +36,8 @@ function openQuickImportDialog(type: string) {
<a-tab-pane v-for="(tab, i) in tabs" :key="i" :value="i" class="text-capitalize" :closable="true"> <a-tab-pane v-for="(tab, i) in tabs" :key="i" :value="i" class="text-capitalize" :closable="true">
<template #tab> <template #tab>
<span class="flex items-center gap-2"> <span class="flex items-center gap-2">
<MdiTableIcon v-if="tab.type === 'table'" class="text-primary" />
<MdiAccountGroupIcon v-if="tab.type === 'auth'" class="text-primary" /> <MdiAccountGroupIcon v-if="tab.type === 'auth'" class="text-primary" />
<MdiTableIcon v-else class="text-primary" />
{{ tab.title }} {{ tab.title }}
</span> </span>
</template> </template>

Loading…
Cancel
Save