Apply minor UI update to PersonChooseModal.vue create button

- Added `btn btn-submit` CSS classes to the create button for improved styling.
- Removed outdated and commented-out `on-the-fly` implementation.
This commit is contained in:
2025-10-01 10:51:58 +02:00
parent c06531cddb
commit e566f60a4a

View File

@@ -72,24 +72,9 @@
v-if="props.allowCreate && query.length > 0"
class="create-button"
>
<button type="button" @click="emit('onAskForCreate', { query })">
<button type="button" class="btn btn-submit" @click="emit('onAskForCreate', { query })">
{{ trans(ONTHEFLY_CREATE_BUTTON, { q: query }) }}
</button>
<!--
TODO remove this
<on-the-fly
v-if="
queryLength >= 3 &&
(options.type.includes('person') || options.type.includes('thirdparty'))
"
:button-text="trans(ONTHEFLY_CREATE_BUTTON, { q: query })"
:allowed-types="options.type"
:query="query"
action="create"
@save-form-on-the-fly="saveFormOnTheFly"
ref="onTheFly"
/>
-->
</div>
</div>
</template>