summaryrefslogtreecommitdiff
path: root/frontend/src/actions
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-07-22 14:31:03 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:48:19 +0200
commitd8eb2d7fd4cf15706bced6c6ceca320cfaecb2f7 (patch)
treecc883f95b5580a4f399e665bcda16d52aa04bb32 /frontend/src/actions
parent92ce9387f5c3ce54b4077ef6a5f604fc2cfe6ade (diff)
Implement topology duplication
Diffstat (limited to 'frontend/src/actions')
-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,
}
}