Skip to content

Commit

Permalink
Remove workspaces from session if cancel is used
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Jan 29, 2024
1 parent 7bcd651 commit d082f4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rdmo_radar/exports/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ def submit(self):
)

if 'cancel' in self.request.POST:
self.pop_from_session(self.request, 'get')
self.pop_from_session(self.request, 'workspace_choices')
return redirect('project', self.project.id)

if form.is_valid():
Expand Down

0 comments on commit d082f4d

Please sign in to comment.