Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Do not collapse extra formsets if there are no initial formsets
Marcin Gębala9f15cb95aa37
diff --git a/saleor/dashboard/templates/dashboard/includes/_formset_table.html b/saleor/dashboard/templates/dashboard/includes/_formset_table.htmlindex 4a6c879c07..3d053a6f36 100644--- a/saleor/dashboard/templates/dashboard/includes/_formset_table.html+++ b/saleor/dashboard/templates/dashboard/includes/_formset_table.html@@ -15,7 +15,7 @@</tr>{% endfor %}{% for form in formset.extra_forms %}- <tr {% if collapse_id %}id="{{ collapse_id }}" class="collapse"{% endif %}>+ <tr {% if formset.initial_forms and collapse_id %}id="{{ collapse_id }}" class="collapse"{% endif %}>{% for field in form %}<td>{{ field }}</td>{% endfor %}