Browse Source

feat/Added tooltip to show table name in table tree view

pull/3634/head
Muhammed Mustafa 2 years ago
parent
commit
e3ed82d67e
  1. 3
      packages/nc-gui/components/dashboard/TreeView.vue

3
packages/nc-gui/components/dashboard/TreeView.vue

@ -316,6 +316,8 @@ function openTableCreateDialog() {
:data-id="table.id" :data-id="table.id"
@click="addTableTab(table)" @click="addTableTab(table)"
> >
<a-tooltip>
<template #title>{{ table.table_name }}</template>
<div class="flex items-center gap-2 h-full" @contextmenu="setMenuContext('table', table)"> <div class="flex items-center gap-2 h-full" @contextmenu="setMenuContext('table', table)">
<div class="flex w-auto"> <div class="flex w-auto">
<MdiDrag <MdiDrag
@ -360,6 +362,7 @@ function openTableCreateDialog() {
</template> </template>
</a-dropdown> </a-dropdown>
</div> </div>
</a-tooltip>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save