diff --git a/src/pages/Travel/Card/TravelThermographsForm.vue b/src/pages/Travel/Card/TravelThermographsForm.vue index 7f40873b1..4f16b0a49 100644 --- a/src/pages/Travel/Card/TravelThermographsForm.vue +++ b/src/pages/Travel/Card/TravelThermographsForm.vue @@ -28,18 +28,8 @@ const route = useRoute(); const router = useRouter(); const state = useState(); const { notify } = useNotify(); - -const thermographFilter = { - fields: ['thermographFk'], - where: { - travelFk: null, - }, - order: 'thermographFk ASC', -}; -const fetchTravelThermographsRef = ref(null); const allowedContentTypes = ref(''); const user = state.getUser(); -const thermographsOptions = ref([]); const dmsTypesOptions = ref([]); const companiesOptions = ref([]); const warehousesOptions = ref([]); @@ -168,24 +158,15 @@ const updateThermograph = async () => { }; const onThermographCreated = async (data) => { - await fetchTravelThermographsRef.value.fetch(); - thermographForm.thermographId = data.thermographId; + thermographForm.thermographId = data.id; }; - - es: Select files: Selecciona ficheros