fix payment links

This commit is contained in:
Pete Matsyburka committed 2026-09-23 18:48:24 +03:00
1 parent e7fd1e4006
commit 92bfedd01d
1 file changed
+3 -3
@@ -102,7 +102,7 @@
class="hover:underline" class="hover:underline"
style="font-size: 11px" style="font-size: 11px"
:class="{'underline': !('payment_link_id' in field.preferences)}" :class="{'underline': !('payment_link_id' in field.preferences)}"
@click="[delete field.preferences.price_id, delete field.preferences.payment_link_id]" @click.prevent="[delete field.preferences.price_id, delete field.preferences.payment_link_id]"
>{{ t('one_off') }}</a> >{{ t('one_off') }}</a>
<span class="h-2.5 border-l border-base-content mx-1" /> <span class="h-2.5 border-l border-base-content mx-1" />
<template <template
@@ -113,7 +113,7 @@
class="hover:underline" class="hover:underline"
style="font-size: 11px" style="font-size: 11px"
:class="{'underline': ('price_id' in field.preferences)}" :class="{'underline': ('price_id' in field.preferences)}"
@click="field.preferences.payment_link_id ??= ''" @click.prevent="field.preferences.payment_link_id ??= ''"
>{{ t('recurrent') }}</a> >{{ t('recurrent') }}</a>
<span class="h-2.5 border-l border-base-content mx-1" /> <span class="h-2.5 border-l border-base-content mx-1" />
</template> </template>
@@ -122,7 +122,7 @@
class="hover:underline" class="hover:underline"
style="font-size: 11px" style="font-size: 11px"
:class="{'underline': ('payment_link_id' in field.preferences)}" :class="{'underline': ('payment_link_id' in field.preferences)}"
@click="[delete field.preferences.price_id, field.preferences.payment_link_id ??= '']" @click.prevent="[delete field.preferences.price_id, field.preferences.payment_link_id ??= '']"
>{{ t('payment_link') }}</a> >{{ t('payment_link') }}</a>
</div> </div>
</div> </div>