summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/actions/modals/portfolios.js
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web/opendc-web-ui/src/actions/modals/portfolios.js')
-rw-r--r--opendc-web/opendc-web-ui/src/actions/modals/portfolios.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui/src/actions/modals/portfolios.js b/opendc-web/opendc-web-ui/src/actions/modals/portfolios.js
new file mode 100644
index 00000000..f6dce2e3
--- /dev/null
+++ b/opendc-web/opendc-web-ui/src/actions/modals/portfolios.js
@@ -0,0 +1,14 @@
+export const OPEN_NEW_PORTFOLIO_MODAL = 'OPEN_NEW_PORTFOLIO_MODAL'
+export const CLOSE_NEW_PORTFOLIO_MODAL = 'CLOSE_PORTFOLIO_MODAL'
+
+export function openNewPortfolioModal() {
+ return {
+ type: OPEN_NEW_PORTFOLIO_MODAL,
+ }
+}
+
+export function closeNewPortfolioModal() {
+ return {
+ type: CLOSE_NEW_PORTFOLIO_MODAL,
+ }
+}