From 3bb5f66ce727184f7ffb80236c676eb8acbf7150 Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 15 Oct 2024 08:43:58 +0200 Subject: [PATCH] fix(claimNotes): refs #8093 $props.selectType && !newNote.observationTypeFk --- src/components/ui/VnNotes.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {