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.
|
|
|
<script setup lang="ts">
|
|
|
|
import { inject } from '#imports'
|
|
|
|
import useDeleteTable from '~/composables/useDeleteTable'
|
|
|
|
import { MetaInj } from '~/context'
|
|
|
|
import MdiDeleteIcon from '~icons/mdi/delete-outline'
|
|
|
|
|
|
|
|
const meta = inject(MetaInj)
|
|
|
|
|
|
|
|
const { deleteTable } = useDeleteTable()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<a-tooltip placement="left">
|
|
|
|
<template #title> {{ $t('activity.deleteTable') }} </template>
|
|
|
|
|
|
|
|
<div class="nc-sidebar-right-item hover:after:bg-red-500 group">
|
|
|
|
<MdiDeleteIcon class="group-hover:(!text-white)" @click="deleteTable(meta)" />
|
|
|
|
</div>
|
|
|
|
</a-tooltip>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<style scoped></style>
|