fix: descriptor port

This commit is contained in:
TheNoxium
2025-11-24 04:32:42 +07:00
parent 0d6ecfeb40
commit 5aa14f5ae8
7 changed files with 10 additions and 10 deletions

View File

@@ -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"),
),
]
)