#7874 add observation type #765

Merged
jorgep merged 22 commits from 7874-addObservationType into dev 2024-10-14 14:16:45 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit 01dc25da8c - Show all commits

View File

@ -57,10 +57,11 @@ onBeforeRouteLeave((to, from, next) => {
</script>
<template>
<FetchData
v-if="selectType"
url="ObservationTypes"
:filter="{ fields: ['id', 'description'] }"
:auto-load="selectType"
@on-fetch="(data) => observationTypes.push(...data)"
auto-load
@on-fetch="(data) => (observationTypes = data)"
/>
<QCard class="q-pa-xs q-mb-xl full-width" v-if="$props.addNote">
<QCardSection horizontal>