fix: remove slot

This commit is contained in:
Javier Segarra 2024-09-17 14:29:26 +02:00
parent 9379e80df7
commit 71236c0a01
3 changed files with 3 additions and 7 deletions

View File

@ -403,11 +403,7 @@ function handleOnDataSaved(_) {
<template #top-left v-if="!$props.withoutHeader"> <template #top-left v-if="!$props.withoutHeader">
<slot name="top-left"></slot> <slot name="top-left"></slot>
</template> </template>
<template #body-selection="scope">
<!-- <pre>{{ scope }}</pre> -->
<slot name="body-selection" :data="scope"></slot>
<!-- <QCheckbox class="q-ma-xs" v-if="scope"></QCheckbox> -->
</template>
<template #top-right v-if="!$props.withoutHeader"> <template #top-right v-if="!$props.withoutHeader">
<VnVisibleColumn <VnVisibleColumn
v-if="isTableMode" v-if="isTableMode"

View File

@ -232,7 +232,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
:row-click="({ routeFk }) => tableRef.redirect(routeFk)" :row-click="({ routeFk }) => tableRef.redirect(routeFk)"
:table="{ :table="{
'row-key': '$index', 'row-key': '$index',
selection: 'multiple', selection: 'single',
}" }"
> >
<template #column-id="{ row }"> <template #column-id="{ row }">

View File

@ -130,7 +130,7 @@ const columns = computed(() => [
}, },
{ {
name: 'alertLevelCode', name: 'alertLevelCode',
label: t('negative.detail.stadte'), label: t('negative.detail.state'),
align: 'left', align: 'left',
sortable: true, sortable: true,