Bug fix for part category view (#3119)

This commit is contained in:
Oliver authored and GitHub committed 2022-06-03 00:14:36 +10:00
1 parent e8bf35585a
commit 5fef6563d8
1 file changed
+1 -1
+1 -1
View File
@@ -981,7 +981,7 @@ class CategoryDetail(InvenTreeRoleMixin, InvenTreePluginViewMixin, DetailView):
if category:
# Insert "starred" information
context['starred_directly'] = context['starred'] and category.is_starred_by(
context['starred_directly'] = category.is_starred_by(
self.request.user,
include_parents=False,
)