mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Reported directly, with screenshots: on Board Settings / Rules, clicking "Workflow view" in the page sidebar changed the button's label to "List view" but the page kept showing the "Add trigger" tab - the workflow builder never appeared. rulesMain.jade renders +rulesWorkflow only while its rulesCurrentTab ReactiveVar is 'rulesList'. The toggle lives in rulesControls, a separate template in the page sidebar with no handle on the rulesMain instance, so it only flips Session 'rulesViewMode'; from the Add trigger / Add action / rule details tabs that changed nothing visible. rulesMain now owns an autorun that brings the page back to the list tab whenever the workflow view is selected - the one place the tab state can be changed from. tests/rulesWorkflowViewToggle.test.cjs pins it. Thanks to xet7 !