0
0
Fork 0

fix: refs #7943 use summary

This commit is contained in:
Jorge Penadés 2024-10-25 11:38:00 +02:00
parent fc175666b1
commit bb51a9e687
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import WorkerFilter from '../WorkerFilter.vue';
<template>
<VnCard
data-key="Worker"
base-url="Workers"
custom-url="Workers/summary"
:descriptor="WorkerDescriptor"
:filter-panel="WorkerFilter"
search-data-key="WorkerList"

View File

@ -45,7 +45,7 @@ onBeforeMount(async () => {
ref="summary"
:url="`Workers/summary`"
:filter="{ where: { id: entityId } }"
data-key="WorkerSummary"
data-key="Worker"
>
<template #header="{ entity }">
<div>{{ entity.id }} - {{ entity.firstName }} {{ entity.lastName }}</div>