dev: hotfix, cleaning some pubs
This commit is contained in:
@@ -110,8 +110,8 @@ function handleActionCellClick(event: Event, _cellRef: string) {
|
|||||||
<TableBody v-else-if="rows.length === 0">
|
<TableBody v-else-if="rows.length === 0">
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableCell
|
<TableCell
|
||||||
:colspan="keys.length"
|
:colspan="keys.length + 1"
|
||||||
class="py-8 text-center"
|
class="py-5 text-center"
|
||||||
>
|
>
|
||||||
<div class="flex items-center justify-center">
|
<div class="flex items-center justify-center">
|
||||||
<Info class="size-5 text-muted-foreground" />
|
<Info class="size-5 text-muted-foreground" />
|
||||||
|
|||||||
@@ -89,7 +89,6 @@ export const ActionEvents = {
|
|||||||
showVerify: 'showVerify',
|
showVerify: 'showVerify',
|
||||||
showConfirmVerify: 'showConfirmVerify',
|
showConfirmVerify: 'showConfirmVerify',
|
||||||
showValidate: 'showValidate',
|
showValidate: 'showValidate',
|
||||||
showConfirmVerify: 'showConfirmVerify',
|
|
||||||
showPrint: 'showPrint',
|
showPrint: 'showPrint',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,25 +1,22 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
type ClickType = 'back'
|
||||||
|
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
(e: 'click'): void
|
(e: 'click', type: ClickType): void
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
function onClick() {
|
function onClick(type: ClickType) {
|
||||||
emit('click')
|
emit('click', type)
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="m-2 flex gap-2 px-2">
|
<div class="m-2 flex gap-2 px-2">
|
||||||
<Button
|
<div>
|
||||||
class="bg-gray-400"
|
<Button variant="ghost"@click="onClick('back')" >
|
||||||
type="button"
|
<Icon name="i-lucide-arrow-left" class="" />
|
||||||
@click="onClick"
|
Back
|
||||||
>
|
</Button>
|
||||||
<Icon
|
</div>
|
||||||
name="i-lucide-arrow-left"
|
|
||||||
class="me-2 align-middle"
|
|
||||||
/>
|
|
||||||
Back
|
|
||||||
</Button>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user