summaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/sagas/topology.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/src/sagas/topology.js b/frontend/src/sagas/topology.js
index 8b67c196..bba1ebb1 100644
--- a/frontend/src/sagas/topology.js
+++ b/frontend/src/sagas/topology.js
@@ -43,6 +43,9 @@ export function* onAddTopology(action) {
let topologyToBeCreated
if (action.duplicateId) {
topologyToBeCreated = yield getTopologyAsObject(action.duplicateId, false)
+ topologyToBeCreated = Object.assign({}, topologyToBeCreated, {
+ name: action.name,
+ })
} else {
topologyToBeCreated = { name: action.name, rooms: [] }
}