Fixed issue with all unassigned zones being selected after a new account's name fails to validate (#1530)

This commit is contained in:
Matt Scott
2023-04-13 16:16:51 -04:00
committed by GitHub

View File

@ -133,7 +133,7 @@
</option>
{% endwith %}
{% else %}
<option {% if account.id == domain.account_id %}selected{% endif %}
<option {% if account.id and account.id == domain.account_id %}selected{% endif %}
value="{{ domain.name }}">
{{ domain.name }}
</option>