Skip to content

Commit

Permalink
fix: go back to previous context
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Oct 5, 2023
1 parent b079ffa commit 8d07b3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mindmap/mindmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ def author_view(self, _context=None) -> Fragment:
user = self.get_current_user()
context = self.get_context()
js_context = self.get_js_context(user, context)
context["editable"] = False
js_context["editable"] = False

frag = self.load_fragment("mindmap", context)

Expand Down

0 comments on commit 8d07b3a

Please sign in to comment.