0
0
Fork 0

fix(claimNotes): refs #8093 $props.selectType && !newNote.observationTypeFk

This commit is contained in:
Alex Moreno 2024-10-15 08:43:58 +02:00
parent d87e8ec4ae
commit 3bb5f66ce7
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ const observationTypes = ref([]);
const vnPaginateRef = ref(); const vnPaginateRef = ref();
async function insert() { async function insert() {
if (!newNote.text || !newNote.observationTypeFk) return; if (!newNote.text || ($props.selectType && !newNote.observationTypeFk)) return;
const body = $props.body; const body = $props.body;
const newBody = { const newBody = {