diff options
Diffstat (limited to 'frontend/src/actions/modals')
| -rw-r--r-- | frontend/src/actions/modals/topology.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/frontend/src/actions/modals/topology.js b/frontend/src/actions/modals/topology.js index bc59e579..7b74e820 100644 --- a/frontend/src/actions/modals/topology.js +++ b/frontend/src/actions/modals/topology.js @@ -1,3 +1,5 @@ +export const OPEN_CHANGE_TOPOLOGY_MODAL = 'OPEN_CHANGE_TOPOLOGY_MODAL' +export const CLOSE_CHANGE_TOPOLOGY_MODAL = 'CLOSE_CHANGE_TOPOLOGY_MODAL' export const OPEN_EDIT_ROOM_NAME_MODAL = 'OPEN_EDIT_ROOM_NAME_MODAL' export const CLOSE_EDIT_ROOM_NAME_MODAL = 'CLOSE_EDIT_ROOM_NAME_MODAL' export const OPEN_DELETE_ROOM_MODAL = 'OPEN_DELETE_ROOM_MODAL' @@ -9,6 +11,18 @@ export const CLOSE_DELETE_RACK_MODAL = 'CLOSE_DELETE_RACK_MODAL' export const OPEN_DELETE_MACHINE_MODAL = 'OPEN_DELETE_MACHINE_MODAL' export const CLOSE_DELETE_MACHINE_MODAL = 'CLOSE_DELETE_MACHINE_MODAL' +export function openChangeTopologyModal() { + return { + type: OPEN_CHANGE_TOPOLOGY_MODAL, + } +} + +export function closeChangeTopologyModal() { + return { + type: CLOSE_CHANGE_TOPOLOGY_MODAL, + } +} + export function openEditRoomNameModal() { return { type: OPEN_EDIT_ROOM_NAME_MODAL, |
