diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-08-17 03:46:40 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-08-24 07:45:28 +0800 |
commit | eb17151ff4c668ff1a99bad696cd379ffc3d8f24 (patch) | |
tree | 6ff2e2055cfacbe8fa0472d007e9077fa4d46cb6 /ui | |
parent | c06a0be486a6a484929cd3f43fb766f5848ce9db (diff) | |
download | tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar.gz tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar.bz2 tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar.lz tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar.xz tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar.zst tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.zip |
Change "Outgoing" to "Sent Ether" or "Sent Token"
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/transaction-action/tests/transaction-action.component.test.js | 4 | ||||
-rw-r--r-- | ui/app/constants/transactions.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/components/transaction-action/tests/transaction-action.component.test.js b/ui/app/components/transaction-action/tests/transaction-action.component.test.js index bba997c20..158bc8dc4 100644 --- a/ui/app/components/transaction-action/tests/transaction-action.component.test.js +++ b/ui/app/components/transaction-action/tests/transaction-action.component.test.js @@ -34,7 +34,7 @@ describe('TransactionAction Component', () => { assert.equal(wrapper.text(), '--') }) - it('should render Outgoing', () => { + it('should render Sent Ether', () => { const methodData = { data: {}, done: true, error: null } const transaction = { id: 1, @@ -58,7 +58,7 @@ describe('TransactionAction Component', () => { />, { context: { tOrDefault }}) assert.equal(wrapper.find('.transaction-action').length, 1) - assert.equal(wrapper.text(), 'outgoing') + assert.equal(wrapper.text(), 'sentEther') }) it('should render Approved', () => { diff --git a/ui/app/constants/transactions.js b/ui/app/constants/transactions.js index da1d2e590..df6c4c8a4 100644 --- a/ui/app/constants/transactions.js +++ b/ui/app/constants/transactions.js @@ -11,10 +11,10 @@ export const TOKEN_METHOD_TRANSFER = 'transfer' export const TOKEN_METHOD_APPROVE = 'approve' export const TOKEN_METHOD_TRANSFER_FROM = 'transferfrom' -export const SEND_ETHER_ACTION_KEY = 'outgoing' +export const SEND_ETHER_ACTION_KEY = 'sentEther' export const DEPLOY_CONTRACT_ACTION_KEY = 'contractDeployment' export const APPROVE_ACTION_KEY = 'approve' -export const SEND_TOKEN_ACTION_KEY = 'outgoing' +export const SEND_TOKEN_ACTION_KEY = 'sentTokens' export const TRANSFER_FROM_ACTION_KEY = 'transferFrom' export const SIGNATURE_REQUEST_KEY = 'signatureRequest' export const UNKNOWN_FUNCTION_KEY = 'unknownFunction' |