Skip to content

Commit

Permalink
feat: adding simulator version in the circuit data
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanndwi123 committed Jul 29, 2024
1 parent 48d527f commit 70b2cb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions v0/src/simulator/src/data/save.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export async function generateSaveData(name, setName = true) {
data.timePeriod = simulationArea.timePeriod
data.clockEnabled = simulationArea.clockEnabled
data.projectId = projectId
data.simulatorVersion = "v0"
data.focussedCircuit = globalScope.id
data.orderedTabs = getTabsOrder()

Expand Down
1 change: 1 addition & 0 deletions v1/src/simulator/src/data/save.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export async function generateSaveData(name, setName = true) {
data.timePeriod = simulationArea.timePeriod
data.clockEnabled = simulationArea.clockEnabled
data.projectId = projectId
data.simulatorVersion = "v1"
data.focussedCircuit = globalScope.id
data.orderedTabs = getTabsOrder()

Expand Down

0 comments on commit 70b2cb4

Please sign in to comment.