adjust field types prop

This commit is contained in:
Pete Matsyburka
2025-05-08 12:22:18 +03:00
parent 5663e60f92
commit b4a68cf79e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -112,7 +112,7 @@
:key="type"
>
<button
v-if="(fieldTypes.length === 0 || fieldTypes.includes(type)) && (withPhone || type != 'phone') && (withPayment || type != 'payment') && (withVerification || type != 'verification')"
v-if="fieldTypes.includes(type) || ((withPhone || type != 'phone') && (withPayment || type != 'payment') && (withVerification || type != 'verification'))"
:id="`${type}_type_field_button`"
draggable="true"
class="field-type-button group flex items-center justify-center border border-dashed w-full rounded relative fields-grid-item"