diff options
Diffstat (limited to 'src/actions/modals')
| -rw-r--r-- | src/actions/modals/profile.js | 14 | ||||
| -rw-r--r-- | src/actions/modals/simulations.js | 14 | ||||
| -rw-r--r-- | src/actions/modals/topology.js | 14 |
3 files changed, 42 insertions, 0 deletions
diff --git a/src/actions/modals/profile.js b/src/actions/modals/profile.js new file mode 100644 index 00000000..421e7602 --- /dev/null +++ b/src/actions/modals/profile.js @@ -0,0 +1,14 @@ +export const OPEN_DELETE_PROFILE_MODAL = "OPEN_DELETE_PROFILE_MODAL"; +export const CLOSE_DELETE_PROFILE_MODAL = "CLOSE_DELETE_PROFILE_MODAL"; + +export function openDeleteProfileModal() { + return { + type: OPEN_DELETE_PROFILE_MODAL + }; +} + +export function closeDeleteProfileModal() { + return { + type: CLOSE_DELETE_PROFILE_MODAL + }; +} diff --git a/src/actions/modals/simulations.js b/src/actions/modals/simulations.js new file mode 100644 index 00000000..53d2c565 --- /dev/null +++ b/src/actions/modals/simulations.js @@ -0,0 +1,14 @@ +export const OPEN_NEW_SIMULATION_MODAL = "OPEN_NEW_SIMULATION_MODAL"; +export const CLOSE_NEW_SIMULATION_MODAL = "CLOSE_SIMULATION_POPUP"; + +export function openNewSimulationModal() { + return { + type: OPEN_NEW_SIMULATION_MODAL + }; +} + +export function closeNewSimulationModal() { + return { + type: CLOSE_NEW_SIMULATION_MODAL + }; +} diff --git a/src/actions/modals/topology.js b/src/actions/modals/topology.js new file mode 100644 index 00000000..5e3fc803 --- /dev/null +++ b/src/actions/modals/topology.js @@ -0,0 +1,14 @@ +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 function openEditRoomNameModal() { + return { + type: OPEN_EDIT_ROOM_NAME_MODAL + }; +} + +export function closeEditRoomNameModal() { + return { + type: CLOSE_EDIT_ROOM_NAME_MODAL + }; +} |
