dev: hotfix, cleaning some pubs

This commit is contained in:
2025-12-04 10:17:16 +07:00
parent b80ee5a55e
commit e7cab6caed
3 changed files with 13 additions and 17 deletions
@@ -110,8 +110,8 @@ function handleActionCellClick(event: Event, _cellRef: string) {
<TableBody v-else-if="rows.length === 0">
<TableRow>
<TableCell
:colspan="keys.length"
class="py-8 text-center"
:colspan="keys.length + 1"
class="py-5 text-center"
>
<div class="flex items-center justify-center">
<Info class="size-5 text-muted-foreground" />
-1
View File
@@ -89,7 +89,6 @@ export const ActionEvents = {
showVerify: 'showVerify',
showConfirmVerify: 'showConfirmVerify',
showValidate: 'showValidate',
showConfirmVerify: 'showConfirmVerify',
showPrint: 'showPrint',
}
+11 -14
View File
@@ -1,25 +1,22 @@
<script setup lang="ts">
type ClickType = 'back'
const emit = defineEmits<{
(e: 'click'): void
(e: 'click', type: ClickType): void
}>()
function onClick() {
emit('click')
function onClick(type: ClickType) {
emit('click', type)
}
</script>
<template>
<div class="m-2 flex gap-2 px-2">
<Button
class="bg-gray-400"
type="button"
@click="onClick"
>
<Icon
name="i-lucide-arrow-left"
class="me-2 align-middle"
/>
Back
</Button>
<div>
<Button variant="ghost"@click="onClick('back')" >
<Icon name="i-lucide-arrow-left" class="" />
Back
</Button>
</div>
</div>
</template>