forked from verdnatura/salix-front
fix(claimNotes): refs #8093 $props.selectType && !newNote.observationTypeFk
This commit is contained in:
parent
d87e8ec4ae
commit
3bb5f66ce7
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue