diff --git a/src/components/ui/VnNotes.vue b/src/components/ui/VnNotes.vue index 876081235..b395b3934 100644 --- a/src/components/ui/VnNotes.vue +++ b/src/components/ui/VnNotes.vue @@ -34,7 +34,7 @@ const observationTypes = ref([]); const vnPaginateRef = ref(); async function insert() { - if (!newNote.text || !newNote.observationTypeFk) return; + if (!newNote.text || ($props.selectType && !newNote.observationTypeFk)) return; const body = $props.body; const newBody = {