aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-05-27 05:32:45 +0800
committerDan Finlay <dan@danfinlay.com>2016-05-27 05:32:45 +0800
commit5da6fd5ab18812929cbf790527a3029fd8d7123c (patch)
treea93ca3f0f32e715c9c5174dfe5e205239de59e9d /ui/app/actions.js
parentd31189b2066d0225eb57e86d077d579cf223658c (diff)
downloadtangerine-wallet-browser-5da6fd5ab18812929cbf790527a3029fd8d7123c.tar.gz
tangerine-wallet-browser-5da6fd5ab18812929cbf790527a3029fd8d7123c.tar.zst
tangerine-wallet-browser-5da6fd5ab18812929cbf790527a3029fd8d7123c.zip
Add clicking txs in list shows tx conf screen
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 5b058aaed..ae6125b20 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -76,6 +76,8 @@ var actions = {
txError: txError,
nextTx: nextTx,
previousTx: previousTx,
+ viewPendingTx: viewPendingTx,
+ VIEW_PENDING_TX: 'VIEW_PENDING_TX',
// app messages
showAccountDetail: showAccountDetail,
BACK_TO_ACCOUNT_DETAIL: 'BACK_TO_ACCOUNT_DETAIL',
@@ -387,6 +389,13 @@ function nextTx() {
}
}
+function viewPendingTx(txId) {
+ return {
+ type: actions.VIEW_PENDING_TX,
+ value: txId,
+ }
+}
+
function previousTx() {
return {
type: actions.PREVIOUS_TX,