diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-05 09:55:19 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:57 +0200 |
| commit | 02eafd26b8841ed5896ab83672aba13d569ea63d (patch) | |
| tree | 4ef0a58b0efdb0d0ccbac81d45c25397c875398e /src/actions | |
| parent | 42778e8be409b97059fa519b53c303cdba502e01 (diff) | |
Fix issue loading DC with previously filled store
Diffstat (limited to 'src/actions')
| -rw-r--r-- | src/actions/topology.js | 7 |
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 |
