From 81f2a49e8a6b434c6082f17b69a4436dee355269 Mon Sep 17 00:00:00 2001 From: morfe2 Date: Wed, 8 Jan 2025 18:24:55 +0100 Subject: [PATCH] explicitly show invalid mandate forgot to update account mandates in https://github.com/mollie/Shopware6Composables/pull/11 --- src/runtime/components/MollieCreditCardRemoveMandates.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/runtime/components/MollieCreditCardRemoveMandates.vue b/src/runtime/components/MollieCreditCardRemoveMandates.vue index 85b0e95..f418222 100644 --- a/src/runtime/components/MollieCreditCardRemoveMandates.vue +++ b/src/runtime/components/MollieCreditCardRemoveMandates.vue @@ -23,8 +23,11 @@ const removeMandate = async (id: string) => { class="mollie-credit-card-mandates-remove__item" >
- {{ mandate.details.cardLabel }} - {{ mandate.details.cardHolder }} - **** - {{ mandate.details.cardNumber }} + {{ + mandate.details.cardLabel && mandate.details.cardHolder && mandate.details.cardNumber + ? `${mandate.details.cardLabel} - ${mandate.details.cardHolder} - **** ${mandate.details.cardNumber}` + : 'Invalid' + }}