summaryrefslogtreecommitdiff
path: root/src/actions/simulations.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-08-21 12:08:41 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:05:43 +0200
commit1b6545fa653df44b019f6676faed39880999b2bf (patch)
treecb131975db09cdb401b082700e2075d462495897 /src/actions/simulations.js
parent8a49e1eedebb6d4c47edf6fd1a7545ea502d59e7 (diff)
Add basic react-konva rendering prototype
Diffstat (limited to 'src/actions/simulations.js')
-rw-r--r--src/actions/simulations.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actions/simulations.js b/src/actions/simulations.js
index ddfacaf0..926c67bc 100644
--- a/src/actions/simulations.js
+++ b/src/actions/simulations.js
@@ -5,7 +5,7 @@ export const ADD_SIMULATION = "ADD_SIMULATION";
export const ADD_SIMULATION_SUCCEEDED = "ADD_SIMULATION_SUCCEEDED";
export const DELETE_SIMULATION = "DELETE_SIMULATION";
export const DELETE_SIMULATION_SUCCEEDED = "DELETE_SIMULATION_SUCCEEDED";
-export const OPEN_SIMULATION = "OPEN_SIMULATION";
+export const OPEN_SIMULATION_SUCCEEDED = "OPEN_SIMULATION_SUCCEEDED";
export function setAuthVisibilityFilter(filter) {
return {
@@ -58,9 +58,9 @@ export function deleteSimulationSucceeded(id) {
};
}
-export function openSimulation(id) {
+export function openSimulationSucceeded(id) {
return {
- type: OPEN_SIMULATION,
+ type: OPEN_SIMULATION_SUCCEEDED,
id
};
}