summaryrefslogtreecommitdiff
path: root/frontend/src/actions/topologies.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/actions/topologies.js')
-rw-r--r--frontend/src/actions/topologies.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/src/actions/topologies.js b/frontend/src/actions/topologies.js
index c80ef6b2..dcce3b7d 100644
--- a/frontend/src/actions/topologies.js
+++ b/frontend/src/actions/topologies.js
@@ -1,10 +1,11 @@
export const ADD_TOPOLOGY = 'ADD_TOPOLOGY'
export const DELETE_TOPOLOGY = 'DELETE_TOPOLOGY'
-export function addTopology(topology) {
+export function addTopology(name, duplicateId) {
return {
type: ADD_TOPOLOGY,
- topology,
+ name,
+ duplicateId,
}
}