From 8218c3d3c21bfa7c4f3ee4872722b9b1261576fb Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 7 Sep 2017 19:27:13 +0200 Subject: Add machine mode with title and delete options --- src/actions/modals/topology.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/actions/modals') diff --git a/src/actions/modals/topology.js b/src/actions/modals/topology.js index 507c1de6..b8e297e0 100644 --- a/src/actions/modals/topology.js +++ b/src/actions/modals/topology.js @@ -6,6 +6,8 @@ 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 const OPEN_DELETE_MACHINE_MODAL = "OPEN_DELETE_MACHINE_MODAL"; +export const CLOSE_DELETE_MACHINE_MODAL = "CLOSE_DELETE_MACHINE_MODAL"; export function openEditRoomNameModal() { return { @@ -54,3 +56,15 @@ export function closeDeleteRackModal() { type: CLOSE_DELETE_RACK_MODAL }; } + +export function openDeleteMachineModal() { + return { + type: OPEN_DELETE_MACHINE_MODAL + }; +} + +export function closeDeleteMachineModal() { + return { + type: CLOSE_DELETE_MACHINE_MODAL + }; +} -- cgit v1.2.3