fix : wip cleanup
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled

This commit is contained in:
2026-05-13 17:50:23 +02:00
parent b130d44054
commit b61321c7b7
10 changed files with 3 additions and 394 deletions

View File

@@ -194,7 +194,6 @@ interface BovineMovementData {
enteredAt: string
leftAt: string | null
buildingCase: BuildingCaseRef | null
building: BuildingRef | null
}
interface BovinePassportData {
@@ -301,7 +300,7 @@ const movementRows = computed(() => {
const list = bovine.value?.movements ?? []
return list.map(m => ({
id: m.id,
building: m.buildingCase?.building?.label ?? m.building?.label ?? '—',
building: m.buildingCase?.building?.label ?? '—',
case: m.buildingCase?.caseNumber != null ? `Case ${m.buildingCase.caseNumber}` : '—',
enteredAt: formatDate(m.enteredAt),
leftAt: m.leftAt ? formatDate(m.leftAt) : null,