File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments