From ad155686eacb425b1e7d9b7f76e902cab6ade127 Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Sat, 22 Aug 2020 19:49:47 +0530 Subject: [PATCH] Fix transactionType undefined bug --- index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 3d788a1..19b7810 100644 --- a/index.html +++ b/index.html @@ -1653,8 +1653,12 @@ } } console.log(transaction) + let transactionType = '' + if( type=='transfer'){ + transactionType = transaction.parsedFloData?.transferType + } return { - type: `${transaction.parsedFloData?.transferType} ${type}`, + type: `${transactionType} ${type}`, name: tokenIdentification, blockHeight: blockheight, amount: tokenAmount,