From d8eb2d7fd4cf15706bced6c6ceca320cfaecb2f7 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 22 Jul 2020 14:31:03 +0200 Subject: Implement topology duplication --- frontend/src/actions/topologies.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'frontend/src/actions/topologies.js') 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, } } -- cgit v1.2.3