addPersons: allow creation of person or thirdparty only (no users)

This commit is contained in:
nobohan
2022-02-14 10:23:49 +01:00
parent 7dd6cd04ba
commit f8888462f1
2 changed files with 4 additions and 2 deletions

View File

@@ -62,7 +62,7 @@
<div class="create-button">
<on-the-fly
v-if="query.length >= 3"
v-if="queryLength >= 3 && (options.type.includes('person') || options.type.includes('thirdparty'))"
:buttonText="$t('onthefly.create.button', {q: query})"
action="create"
@saveFormOnTheFly="saveFormOnTheFly"