Skip to content

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

Fix long descriptions causing problems with editing/removing subcategories

dominik-zeglen2a2087638f74
diff --git a/templates/dashboard/category/detail.html b/templates/dashboard/category/detail.html
index fb7c95c548..6758769e3d 100644
--- a/templates/dashboard/category/detail.html
+++ b/templates/dashboard/category/detail.html
@@ -143,13 +143,13 @@
</td>
<td class="nowrap">
{% if node.description %}
- {{ node.description|truncatewords:6 }}
+ {{ node.description }}
{% else %}
&nbsp;
{% endif %}
</td>
{% if perms.product.edit_category %}
- <td class="right-align">
+ <td class="right-align ignore-link">
<a href="{% url 'dashboard:category-edit' root_pk=node.pk %}" class="btn btn-flat">
{% trans 'Edit' context 'Category edit action' %}
</a>