Skip to content

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

Remove error message in category view

Marcin Gębalacc2c7bad5a90
diff --git a/saleor/dashboard/category/views.py b/saleor/dashboard/category/views.py
index 218ac44858..a66757cf1f 100644
--- a/saleor/dashboard/category/views.py
+++ b/saleor/dashboard/category/views.py
@@ -28,8 +28,6 @@ def category_list(request, root_pk=None):
return redirect('dashboard:category-list', root_pk=root.pk)
else:
return redirect('dashboard:category-list')
- elif form.errors:
- messages.error(request, _('Failed to save category'))
else:
categories = Category.tree.root_nodes()
path = root.get_ancestors(include_self=True) if root else []