Commit 5035869
committed
fix(serializer): preserve block enabled state during deserialization
The deserializer hardcodes `enabled: true` for regular blocks,
ignoring the `enabled` field that was correctly saved during
serialization. This causes disabled blocks to silently become
re-enabled when a workflow is loaded, imported, or round-tripped
through serialize/deserialize.
The loop/parallel branch already handles this correctly with
`serializedBlock.enabled ?? true` — apply the same pattern to
regular blocks.1 parent a54dcbe commit 5035869
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
625 | | - | |
| 625 | + | |
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
| |||
0 commit comments