refactor: refs #7874 create element if condition
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-10-03 10:23:27 +02:00
parent a8c48789ca
commit 01dc25da8c
1 changed files with 3 additions and 2 deletions

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>