From b2cc74d890770aa0aa1c204bf36cdee06d828ca5 Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 20 Sep 2024 10:27:24 +0200 Subject: [PATCH] fix: refs #7524 use id --- src/pages/Travel/Card/TravelThermographsForm.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/Travel/Card/TravelThermographsForm.vue b/src/pages/Travel/Card/TravelThermographsForm.vue index d8dc6edc8..4f16b0a49 100644 --- a/src/pages/Travel/Card/TravelThermographsForm.vue +++ b/src/pages/Travel/Card/TravelThermographsForm.vue @@ -156,6 +156,10 @@ const updateThermograph = async () => { console.error('Error creating thermograph'); } }; + +const onThermographCreated = async (data) => { + thermographForm.thermographId = data.id; +};