From c5eee33b32aaf7fa01e7638e61f4be7e92e5eb40 Mon Sep 17 00:00:00 2001 From: Farina Ashfaq Date: Wed, 12 Jun 2019 15:52:43 +0500 Subject: [PATCH] Update txn detail data --- .../Transactiondetail.vue | 34 +++++++++---------- .../ViewAccount/ViewAccount.vue | 13 ++++--- 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/src/renderer/components/DasboardComponents/WalletDashboardComponents/Transactiondetail.vue b/src/renderer/components/DasboardComponents/WalletDashboardComponents/Transactiondetail.vue index d9904b9..885fe11 100644 --- a/src/renderer/components/DasboardComponents/WalletDashboardComponents/Transactiondetail.vue +++ b/src/renderer/components/DasboardComponents/WalletDashboardComponents/Transactiondetail.vue @@ -2,20 +2,20 @@
@@ -76,8 +76,8 @@
@@ -85,7 +85,7 @@
@@ -93,7 +93,7 @@
@@ -110,8 +110,8 @@
@@ -164,11 +164,11 @@ fetch(postData){ console.log(postData, "postData------"); var transaction_list_hash ,updated_transaction_list_hash; - axios.post('https://beta-api.gander.tech/gettransactionbyhash', postData) + axios.get('https://api.gander.tech/transactionByHash/'+this.txndetaildata) .then((response) => { console.log(response.data.message, "response------"); - if(response.data.message){ - this.transaction = response.data.message; + if(response.data.data){ + this.transaction = response.data.data[0]; } }) .catch((error) => { diff --git a/src/renderer/components/DasboardComponents/WalletDashboardComponents/ViewAccount/ViewAccount.vue b/src/renderer/components/DasboardComponents/WalletDashboardComponents/ViewAccount/ViewAccount.vue index 51a0611..2d44f9c 100644 --- a/src/renderer/components/DasboardComponents/WalletDashboardComponents/ViewAccount/ViewAccount.vue +++ b/src/renderer/components/DasboardComponents/WalletDashboardComponents/ViewAccount/ViewAccount.vue @@ -142,11 +142,10 @@
- - - - - + + + +