From 85ca52d5ab147bf42ac542673f675414ecd49626 Mon Sep 17 00:00:00 2001 From: Mohammed Sohail Date: Wed, 31 Jan 2024 18:33:23 +0300 Subject: [PATCH] fixes: cards alignment, error messages --- components/Card.vue | 2 +- pages/distributor.vue | 2 +- pages/index.vue | 7 +++++++ pages/transaction.vue | 6 +++--- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/components/Card.vue b/components/Card.vue index 6ba0599..1ad687a 100644 --- a/components/Card.vue +++ b/components/Card.vue @@ -1,6 +1,6 @@ diff --git a/pages/transaction.vue b/pages/transaction.vue index 5b2e010..074dcd7 100644 --- a/pages/transaction.vue +++ b/pages/transaction.vue @@ -71,7 +71,7 @@ :conditions="[['tx', 'sell']]" /> { if (response.status <= 201) { formSubmitted.value = true; } else { - form$.messageBag.append(response.data?.message); + form$.messageBag.append(response.data?.error); if (Object.keys(response.data.data)[0]?.message) { form$.messageBag.append( Object.keys(response.data.data)[0] +