display model pk entries (#851)

This commit is contained in:
Oliver authored and GitHub committed 2026-07-06 23:18:51 +10:00
1 parent cb6b5a437d
commit e301abebd8
21 files changed
+104 -1

No files matched your search

+1
View File
@@ -198,6 +198,7 @@ class _CategoryDisplayState extends RefreshableState<CategoryDisplayWidget> {
List<Widget> tiles = <Widget>[
getCategoryDescriptionCard(),
if (showPk && widget.category != null) pkTile(widget.category!.pk),
Expanded(
child: PaginatedPartCategoryList(filters, title: L10().subcategories),
flex: 10,
+4
View File
@@ -355,6 +355,10 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
return tiles;
}
if (showPk) {
tiles.add(pkTile(part.pk));
}
if (!part.isActive) {
tiles.add(
ListTile(