forked from verdnatura/salix-front
refactor: refs #7874 create element if condition
This commit is contained in:
parent
a8c48789ca
commit
01dc25da8c
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue