summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-05 09:55:19 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:05:57 +0200
commit02eafd26b8841ed5896ab83672aba13d569ea63d (patch)
tree4ef0a58b0efdb0d0ccbac81d45c25397c875398e /src/actions
parent42778e8be409b97059fa519b53c303cdba502e01 (diff)
Fix issue loading DC with previously filled store
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/topology.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/topology.js b/src/actions/topology.js
index 3f60386b..1f111f06 100644
--- a/src/actions/topology.js
+++ b/src/actions/topology.js
@@ -5,6 +5,7 @@ export const FETCH_TOPOLOGY_OF_DATACENTER = "FETCH_TOPOLOGY_OF_DATACENTER";
export const FETCH_TOPOLOGY_OF_DATACENTER_SUCCEEDED = "FETCH_TOPOLOGY_OF_DATACENTER_SUCCEEDED";
export const FETCH_LATEST_DATACENTER = "FETCH_LATEST_DATACENTER";
export const FETCH_LATEST_DATACENTER_SUCCEEDED = "FETCH_LATEST_DATACENTER_SUCCEEDED";
+export const RESET_CURRENT_DATACENTER = "RESET_CURRENT_DATACENTER";
export const START_NEW_ROOM_CONSTRUCTION = "START_NEW_ROOM_CONSTRUCTION";
export const START_NEW_ROOM_CONSTRUCTION_SUCCEEDED = "START_NEW_ROOM_CONSTRUCTION_SUCCEEDED";
export const FINISH_NEW_ROOM_CONSTRUCTION = "FINISH_NEW_ROOM_CONSTRUCTION";
@@ -35,6 +36,12 @@ export function fetchLatestDatacenterSucceeded(datacenterId) {
};
}
+export function resetCurrentDatacenter() {
+ return {
+ type: RESET_CURRENT_DATACENTER
+ };
+}
+
export function startNewRoomConstruction() {
return {
type: START_NEW_ROOM_CONSTRUCTION