Skip to content

Commit

Permalink
Block creating requests with duplicate name
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Aug 11, 2024
1 parent 0c855fb commit d813c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/posting/widgets/collection/new_request_modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def create_request(self) -> None:
"A request with this name already exists.",
severity="error",
)
return

self.dismiss(
NewRequestData(
Expand Down

0 comments on commit d813c5b

Please sign in to comment.