Skip to content

Commit

Permalink
fix: do not show domains pending deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
cquintana92 committed Oct 3, 2024
1 parent 8ee02dd commit 7055c06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/dashboard/views/custom_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ class NewCustomDomainForm(FlaskForm):
@parallel_limiter.lock(only_when=lambda: request.method == "POST")
def custom_domain():
custom_domains = CustomDomain.filter_by(
user_id=current_user.id, is_sl_subdomain=False
user_id=current_user.id,
is_sl_subdomain=False,
pending_deletion=False,
).all()
new_custom_domain_form = NewCustomDomainForm()

Expand Down

0 comments on commit 7055c06

Please sign in to comment.