From 0776db2e0fcebe291f8f4c6589012d2a37da7fc8 Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 25 Jun 2024 14:24:58 +0200 Subject: [PATCH] warmFix: correct id --- src/pages/Travel/Card/TravelThermographs.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Travel/Card/TravelThermographs.vue b/src/pages/Travel/Card/TravelThermographs.vue index 1898a58d6..9f224154c 100644 --- a/src/pages/Travel/Card/TravelThermographs.vue +++ b/src/pages/Travel/Card/TravelThermographs.vue @@ -13,7 +13,7 @@ import useNotify from 'src/composables/useNotify.js'; import { toDate } from 'src/filters'; import { downloadFile } from 'src/composables/downloadFile'; -const {{id}} = useRoute(); +const route = useRoute(); const quasar = useQuasar(); const router = useRouter(); const { t } = useI18n(); @@ -29,7 +29,7 @@ const thermographFilter = { fields: ['id', 'name'], }, }, - where: { travelFk: id }, + where: { travelFk: route.params.id }, order: ['created'], };