warmFix: correct id

This commit is contained in:
Alex Moreno 2024-06-25 14:24:58 +02:00
parent b47e20852e
commit 0776db2e0f
1 changed files with 2 additions and 2 deletions

View File

@ -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'],
};