diff --git a/eda-frontend/src/redux/actions/saveSchematicActions.js b/eda-frontend/src/redux/actions/saveSchematicActions.js index 732c3e9d..68e0de9e 100644 --- a/eda-frontend/src/redux/actions/saveSchematicActions.js +++ b/eda-frontend/src/redux/actions/saveSchematicActions.js @@ -76,7 +76,7 @@ export const saveSchematic = (title, description, xml, base64, newBranch = false api .post('save', queryString.stringify(body), config) .then((res) => { - if (!res.data.duplicate) { setVersions(res.data.version, false, null) } + setVersions(res.data.version, false, null) dispatch({ type: actions.SET_SCH_SAVED, payload: res.data