Skip to content

Commit 91174e5

Browse files
authored
Cleaning up.
2 parents dee0e0d + 3573e93 commit 91174e5

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"url": "git+https://github.com/opencor/webapp.git"
2424
},
2525
"type": "module",
26-
"version": "0.20251211.2",
26+
"version": "0.20251211.3",
2727
"scripts": {
2828
"archive:web": "bun src/renderer/scripts/archive.web.js",
2929
"build": "electron-vite build",

src/renderer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"./style.css": "./dist/opencor.css"
4141
},
42-
"version": "0.20251211.2",
42+
"version": "0.20251211.3",
4343
"scripts": {
4444
"build": "vite build",
4545
"build:lib": "vite build --config vite.lib.config.ts && cp index.d.ts dist/index.d.ts",

src/renderer/src/components/views/SimulationExperimentView.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ const interactiveInputValues = vue.ref<number[]>(
227227
? props.uiJson.input.map((input: locApi.IUiJsonInput) => {
228228
// If the input has some possible values then we want to return the index of the possible value that matches the
229229
// default value otherwise we just return the default value.
230+
// Note: if the input has some possible values then we will always be able to return a valid index since the default value
231+
// must be one of the possible values (see uiJsonIssues()).
230232
231233
if (input.possibleValues !== undefined) {
232234
for (let i = 0; i < input.possibleValues.length; ++i) {

0 commit comments

Comments
 (0)