summaryrefslogtreecommitdiff
path: root/src/actions/modals
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-14 14:07:21 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:06:02 +0200
commitf604406453f95c82c3e5e4294a51245661868bbe (patch)
tree6282cc3eb3164ddd94052175f872c8fc2ee2f623 /src/actions/modals
parent7151ae60cf587a502a7e09d19ebd0fd33e761bf2 (diff)
First attempt at experiment list UI
Diffstat (limited to 'src/actions/modals')
-rw-r--r--src/actions/modals/experiments.js14
-rw-r--r--src/actions/modals/simulations.js2
2 files changed, 15 insertions, 1 deletions
diff --git a/src/actions/modals/experiments.js b/src/actions/modals/experiments.js
new file mode 100644
index 00000000..43a53a3a
--- /dev/null
+++ b/src/actions/modals/experiments.js
@@ -0,0 +1,14 @@
+export const OPEN_NEW_EXPERIMENT_MODAL = "OPEN_NEW_EXPERIMENT_MODAL";
+export const CLOSE_NEW_EXPERIMENT_MODAL = "CLOSE_EXPERIMENT_MODAL";
+
+export function openNewExperimentModal() {
+ return {
+ type: OPEN_NEW_EXPERIMENT_MODAL
+ };
+}
+
+export function closeNewExperimentModal() {
+ return {
+ type: CLOSE_NEW_EXPERIMENT_MODAL
+ };
+}
diff --git a/src/actions/modals/simulations.js b/src/actions/modals/simulations.js
index 53d2c565..8281238d 100644
--- a/src/actions/modals/simulations.js
+++ b/src/actions/modals/simulations.js
@@ -1,5 +1,5 @@
export const OPEN_NEW_SIMULATION_MODAL = "OPEN_NEW_SIMULATION_MODAL";
-export const CLOSE_NEW_SIMULATION_MODAL = "CLOSE_SIMULATION_POPUP";
+export const CLOSE_NEW_SIMULATION_MODAL = "CLOSE_SIMULATION_MODAL";
export function openNewSimulationModal() {
return {