Small corrections
This commit is contained in:
parent
de8996d596
commit
cfac9acbe8
|
@ -174,6 +174,7 @@ onMounted(async () => {
|
|||
}}</QBtn>
|
||||
</QCard>
|
||||
</QPopupProxy>
|
||||
<QTooltip>{{ t('Visible columns') }}</QTooltip>
|
||||
</QBtn>
|
||||
</template>
|
||||
|
||||
|
@ -189,3 +190,9 @@ onMounted(async () => {
|
|||
grid-template-columns: repeat(3, 200px);
|
||||
}
|
||||
</style>
|
||||
|
||||
<i18n>
|
||||
es:
|
||||
Check the columns you want to see: Marca las columnas que quieres ver
|
||||
Visible columns: Columnas visibles
|
||||
</i18n>
|
||||
|
|
|
@ -100,22 +100,22 @@ const redirectToDepartmentSummary = (id) => {
|
|||
v-model:expanded="expanded"
|
||||
@update:expanded="onNodeExpanded($event)"
|
||||
>
|
||||
<template #default-header="prop">
|
||||
<template #default-header="{ node }">
|
||||
<div
|
||||
class="row justify-between full-width q-pr-md cursor-pointer"
|
||||
@click.stop="redirectToDepartmentSummary(prop.node.id)"
|
||||
@click.stop="redirectToDepartmentSummary(node.id)"
|
||||
>
|
||||
<span class="text-uppercase">
|
||||
{{ prop.node.name }}
|
||||
{{ node.name }}
|
||||
</span>
|
||||
<div class="row justify-between" style="max-width: max-content">
|
||||
<QIcon
|
||||
v-if="prop.node.id"
|
||||
v-if="node.id"
|
||||
name="delete"
|
||||
color="primary"
|
||||
size="sm"
|
||||
class="q-pr-xs cursor-pointer"
|
||||
@click.stop="removeNode(prop.node)"
|
||||
@click.stop="removeNode(node)"
|
||||
>
|
||||
<QTooltip>
|
||||
{{ t('Remove') }}
|
||||
|
@ -126,7 +126,7 @@ const redirectToDepartmentSummary = (id) => {
|
|||
color="primary"
|
||||
size="sm"
|
||||
class="cursor-pointer"
|
||||
@click.stop="showCreateNodeForm(prop.node.id)"
|
||||
@click.stop="showCreateNodeForm(node.id)"
|
||||
>
|
||||
<QTooltip>
|
||||
{{ t('Create') }}
|
||||
|
|
Loading…
Reference in New Issue