fix phone/payment fields visibility

pull/217/head
Pete Matsyburka 2 years ago
parent 38a8037a4d
commit 30582b2d75

@ -29,7 +29,7 @@
v-for="(icon, type) in fieldIcons" v-for="(icon, type) in fieldIcons"
:key="type" :key="type"
> >
<li v-if="withPhone || withPayment || !['phone', 'payment'].includes(type)"> <li v-if="(withPhone || type != 'phone') && (withPayment || type != 'payment')">
<a <a
href="#" href="#"
class="text-sm py-1 px-2" class="text-sm py-1 px-2"

@ -48,7 +48,7 @@
v-for="(icon, type) in fieldIcons" v-for="(icon, type) in fieldIcons"
:key="type" :key="type"
> >
<li v-if="withPhone || withPayment || !['phone', 'payment'].includes(type)"> <li v-if="(withPhone || type != 'phone') && (withPayment || type != 'payment')">
<a <a
href="#" href="#"
class="text-sm py-1 px-2" class="text-sm py-1 px-2"

Loading…
Cancel
Save