Skip to content

Commit

Permalink
Bug fixed error rendering cases
Browse files Browse the repository at this point in the history
  • Loading branch information
egalvis39 committed May 11, 2023
1 parent 1d48d17 commit 68108d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menuflow/nodes/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def validation(self) -> str:

@property
def cases(self) -> List[Dict]:
return self.render_data(self.content.get("cases"))
return self.content.get("cases")

async def load_cases(self) -> Dict[str, str]:
"""It loads the cases into a dictionary.
Expand Down

0 comments on commit 68108d6

Please sign in to comment.