Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix add and delete button in data-tables

Krzysztof Białogłowiczdaeb5bd4823b
diff --git a/templates/dashboard/product/product_form.html b/templates/dashboard/product/product_form.html
index 25f5aa83c7..fb15dba884 100644
--- a/templates/dashboard/product/product_form.html
+++ b/templates/dashboard/product/product_form.html
@@ -170,7 +170,7 @@
{% trans "Add" context "Product form variants tab table action" %}
</a>
- <a href="#modal-product-variant-delete" class="modal-trigger btn-data-table btn-show-when-checked btn-flat" hidden>
+ <a href="#modal-product-variant-delete" class="modal-trigger btn-data-table btn-show-when-checked btn-flat" style="display:none" hidden>
{% trans "Delete" context "Product form variants tab table action" %}
</a>
@@ -255,7 +255,7 @@
{% trans "Add" context "Product form stock tab table action" %}
</a>
- <a href="#modal-product-stock-delete" class="modal-trigger btn-data-table btn-show-when-checked btn-flat" hidden>
+ <a href="#modal-product-stock-delete" class="modal-trigger btn-data-table btn-show-when-checked btn-flat" style="display:none" hidden>
{% trans "Delete" context "Product form stock tab table action" %}
</a>