fix: descriptor port
This commit is contained in:
@@ -44,7 +44,7 @@ SWITCH_FORM_DESCRIPTOR = FormDescriptor(
|
||||
name="switch_row",
|
||||
type="row",
|
||||
label="Switch condition",
|
||||
link_port=LinkPort(id="case_1_output", label="case_1", is_addable=True),
|
||||
link_port=LinkPort(id=0, label="case_1", is_addable=True),
|
||||
elements=[
|
||||
AreaElement(
|
||||
name="switch_value",
|
||||
@@ -58,7 +58,7 @@ SWITCH_FORM_DESCRIPTOR = FormDescriptor(
|
||||
name="default_row",
|
||||
type="row",
|
||||
label="Default",
|
||||
link_port=LinkPort(id="default_output", label="default"),
|
||||
link_port=LinkPort(id=0, label="default"),
|
||||
),
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user