mirror of
https://github.com/ArthurDanjou/arthome.git
synced 2026-01-29 10:40:26 +01:00
Working
This commit is contained in:
@@ -7,9 +7,11 @@ const props = defineProps<{
|
||||
|
||||
const emit = defineEmits(['closeModal'])
|
||||
const { deleteTab } = await useTabs()
|
||||
const { refreshUserLimits } = await useUserLimits()
|
||||
|
||||
async function handleDelete() {
|
||||
await deleteTab(props.tab.id)
|
||||
await refreshUserLimits()
|
||||
emit('closeModal')
|
||||
}
|
||||
|
||||
@@ -28,7 +30,7 @@ defineShortcuts({
|
||||
</h3>
|
||||
<UButton
|
||||
color="gray"
|
||||
variant="soft"
|
||||
variant="ghost"
|
||||
icon="i-heroicons-x-mark-20-solid"
|
||||
class="p-1"
|
||||
@click="$emit('closeModal')"
|
||||
|
||||
Reference in New Issue
Block a user