From 821529622e4baf095dc34c309b878d09f945da9b Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Fri, 16 Aug 2019 16:24:10 -0230 Subject: Fetch & display received transactions (#6996) --- ui/app/helpers/utils/transactions.util.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui/app/helpers/utils') diff --git a/ui/app/helpers/utils/transactions.util.js b/ui/app/helpers/utils/transactions.util.js index b65bda5b2..cb347ffaa 100644 --- a/ui/app/helpers/utils/transactions.util.js +++ b/ui/app/helpers/utils/transactions.util.js @@ -21,6 +21,7 @@ import { SIGNATURE_REQUEST_KEY, CONTRACT_INTERACTION_KEY, CANCEL_ATTEMPT_ACTION_KEY, + DEPOSIT_TRANSACTION_KEY, } from '../constants/transactions' import log from 'loglevel' @@ -124,6 +125,10 @@ export function isTokenMethodAction (transactionCategory) { export function getTransactionActionKey (transaction) { const { msgParams, type, transactionCategory } = transaction + if (transactionCategory === 'incoming') { + return DEPOSIT_TRANSACTION_KEY + } + if (type === 'cancel') { return CANCEL_ATTEMPT_ACTION_KEY } -- cgit