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