fix(claimNotes): refs #8093 $props.selectType && !newNote.observationTypeFk
gitea/salix-front/pipeline/pr-test This commit looks good Details

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();
async function insert() {
if (!newNote.text || !newNote.observationTypeFk) return;
if (!newNote.text || ($props.selectType && !newNote.observationTypeFk)) return;
const body = $props.body;
const newBody = {