From 14c478e74f09ee04fa2ecff6fcb2d544fb1a6f55 Mon Sep 17 00:00:00 2001 From: Hibariya Date: Sun, 10 Nov 2024 21:38:13 +0900 Subject: [PATCH] Array does not have `append` method Reported by @cobbzilla Fixes #2543 --- payment-element/client/vue-cva/src/components/SrReturn.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/payment-element/client/vue-cva/src/components/SrReturn.vue b/payment-element/client/vue-cva/src/components/SrReturn.vue index a6cb3b8592..0f80b4ea27 100644 --- a/payment-element/client/vue-cva/src/components/SrReturn.vue +++ b/payment-element/client/vue-cva/src/components/SrReturn.vue @@ -25,7 +25,7 @@ onMounted(async () => { ); if (error) { - messages.value.append(error.message); + messages.value.push(error.message); } messages.value.push(`Payment ${paymentIntent.status}: ${paymentIntent.id}`) }); @@ -43,4 +43,4 @@ onMounted(async () => { /> - \ No newline at end of file +