Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Nov 5, 2023
1 parent d5eda24 commit d5cde20
Show file tree
Hide file tree
Showing 8 changed files with 282 additions and 51 deletions.
2 changes: 1 addition & 1 deletion npm-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Envox <[email protected]>",
"description": "EEZ Studio for building standalone dashboard applications",
"repository": "https://github.com/eez-open/studio",
"version": "0.0.35",
"version": "0.0.36",
"revision": "1",
"license": "GPL-3.0-only",
"files": ["packages", "libs", "resources"]
Expand Down
16 changes: 6 additions & 10 deletions packages/project-editor/flow/components/actions/serial.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,16 +217,12 @@ registerActionComponents("Serial Port", [
try {
await serialConnection.connect();

try {
context.setPropertyField(
"connection",
"id",
serialConnection.id
);
context.propagateValueThroughSeqout();
} catch (err) {
context.throwError(err.toString());
}
context.setPropertyField(
"connection",
"id",
serialConnection.id
);
context.propagateValueThroughSeqout();
} catch (err) {
context.throwError(err.toString());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1206,8 +1206,8 @@ export class DropDownListDashboardWidget extends Widget {
>
{options
.filter(option => typeof option === "string")
.map(option => (
<option key={option} value={option}>
.map((option, i) => (
<option key={i} value={option}>
{option}
</option>
))}
Expand Down
Loading

0 comments on commit d5cde20

Please sign in to comment.