diff options
Diffstat (limited to 'src/actions/modals/topology.js')
| -rw-r--r-- | src/actions/modals/topology.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/actions/modals/topology.js b/src/actions/modals/topology.js index ded8771a..507c1de6 100644 --- a/src/actions/modals/topology.js +++ b/src/actions/modals/topology.js @@ -2,6 +2,10 @@ 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"; export const CLOSE_DELETE_ROOM_MODAL = "CLOSE_DELETE_ROOM_MODAL"; +export const OPEN_EDIT_RACK_NAME_MODAL = "OPEN_EDIT_RACK_NAME_MODAL"; +export const CLOSE_EDIT_RACK_NAME_MODAL = "CLOSE_EDIT_RACK_NAME_MODAL"; +export const OPEN_DELETE_RACK_MODAL = "OPEN_DELETE_RACK_MODAL"; +export const CLOSE_DELETE_RACK_MODAL = "CLOSE_DELETE_RACK_MODAL"; export function openEditRoomNameModal() { return { @@ -26,3 +30,27 @@ export function closeDeleteRoomModal() { type: CLOSE_DELETE_ROOM_MODAL }; } + +export function openEditRackNameModal() { + return { + type: OPEN_EDIT_RACK_NAME_MODAL + }; +} + +export function closeEditRackNameModal() { + return { + type: CLOSE_EDIT_RACK_NAME_MODAL + }; +} + +export function openDeleteRackModal() { + return { + type: OPEN_DELETE_RACK_MODAL + }; +} + +export function closeDeleteRackModal() { + return { + type: CLOSE_DELETE_RACK_MODAL + }; +} |
