aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-21 09:32:58 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-21 09:32:58 +0800
commit4e9376ca7129611d12a7ec263741f1dee0e4d79c (patch)
treeb3dbbeebb74713a0ccf65c7d9dce5fffb42dfbca /ui/app/actions.js
parente550d360842074a59832e41ce211fae7f38085cc (diff)
downloadtangerine-wallet-browser-4e9376ca7129611d12a7ec263741f1dee0e4d79c.tar
tangerine-wallet-browser-4e9376ca7129611d12a7ec263741f1dee0e4d79c.tar.gz
tangerine-wallet-browser-4e9376ca7129611d12a7ec263741f1dee0e4d79c.tar.bz2
tangerine-wallet-browser-4e9376ca7129611d12a7ec263741f1dee0e4d79c.tar.lz
tangerine-wallet-browser-4e9376ca7129611d12a7ec263741f1dee0e4d79c.tar.xz
tangerine-wallet-browser-4e9376ca7129611d12a7ec263741f1dee0e4d79c.tar.zst
tangerine-wallet-browser-4e9376ca7129611d12a7ec263741f1dee0e4d79c.zip
Extend modal implementation and state management to accomodate multiple modal types
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index ae6d92733..b7b66f9ad 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -791,15 +791,17 @@ function hideNetworkDropdown () {
}
-function showModal () {
+function showModal (payload) {
return {
type: actions.MODAL_OPEN,
+ payload,
}
}
-function hideModal () {
+function hideModal (payload) {
return {
type: actions.MODAL_CLOSE,
+ payload,
}
}