From ffe7332be2baa7344aa99e4f27a7a7dde2121c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20M=C3=A1rton?= Date: Mon, 26 Oct 2026 12:58:51 +0100 Subject: [PATCH] Display part category description in the lists if set (#891) * Display part category description in the lists if set * Ran dat format --- lib/widget/part/category_list.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/widget/part/category_list.dart b/lib/widget/part/category_list.dart index fb74730b..02228726 100644 --- a/lib/widget/part/category_list.dart +++ b/lib/widget/part/category_list.dart @@ -102,7 +102,11 @@ class _PaginatedPartCategoryListState InvenTreePartCategory category = model as InvenTreePartCategory; return ListTile( - title: Text(category.name), + title: Text( + category.description == "" + ? (category.name) + : (category.name + " - " + category.description), + ), subtitle: Text(category.pathstring), trailing: LargeText("${category.partcount}", size: 14), leading: category.customIcon == null ? null : Icon(category.customIcon),