mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
545 B
20 lines
545 B
2 years ago
|
<script setup lang="ts">
|
||
2 years ago
|
import { MetaInj, inject, useTable } from '#imports'
|
||
2 years ago
|
|
||
2 years ago
|
const meta = inject(MetaInj)!
|
||
2 years ago
|
|
||
2 years ago
|
const { deleteTable } = useTable()
|
||
2 years ago
|
|
||
2 years ago
|
const { isOpen } = useSidebar({ storageKey: 'nc-right-sidebar' })
|
||
2 years ago
|
</script>
|
||
|
|
||
|
<template>
|
||
2 years ago
|
<a-tooltip :placement="isOpen ? 'bottomRight' : 'left'">
|
||
2 years ago
|
<template #title> {{ $t('activity.deleteTable') }} </template>
|
||
2 years ago
|
|
||
2 years ago
|
<div class="nc-sidebar-right-item hover:after:bg-red-500 group">
|
||
2 years ago
|
<MdiDeleteOutline class="cursor-pointer" @click="deleteTable(meta)" />
|
||
2 years ago
|
</div>
|
||
|
</a-tooltip>
|
||
|
</template>
|