Server Action Condition Then & Else Not In Sequence

Wappler Version : 2.4.2
Operating System : W10

Expected behavior

Condition step in server action should show THEN first and ELSE after that.

Actual behavior

When adding the step, THEN & ELSE appear in order.
But, after saving or adding more steps, it randomly reverses this order to show ELSE first and THEN after it.

How to reproduce

image
Try adding a condition step. Add some steps to then/else section or just in then. Save and change server connects/refresh to see the reversed sections.
There are no exact steps to reproduce this & this bug has been here since ages, just couldn’t get around to post it.

Its really really annoying while working on big server actions. This makes it very difficult to keep track - some conditions show then & else, while some show else & then.
Please fix this. :pray: :grin:

Community Page
Last updated: