Skip to content

Commit

Permalink
upd: socket display prop name
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX committed Nov 10, 2023
1 parent 5a11d85 commit 1c073de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/northstar/src/blocks/special/if.r.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class IfElseBlock extends RectBlock implements SpecialBlock {
getProps(): PropsData {
return [
{
name: "has else",
name: "[else]",
type: "switch",
getVal: () => {
return this.hasElse;
Expand Down
4 changes: 2 additions & 2 deletions packages/northstar/src/blocks/special/imp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
SingleOutSocket,
UseSocket,
UsedSockets,
blockCtors
blockCtors,
} from "@quasi-dev/visual-flow";
import { PropsData } from "../../utils/props";
import {
Expand Down Expand Up @@ -70,7 +70,7 @@ export class ImpBlock extends FuncBlockBase {
getProps(): PropsData {
return [
{
name: "has then",
name: "[then]",
type: "switch",
getVal: () => {
return this.hasThen;
Expand Down

0 comments on commit 1c073de

Please sign in to comment.