2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 18:25:26 +00:00

Include category detail when requesting part information

This commit is contained in:
Oliver Walters
2021-01-20 22:58:04 +11:00
parent b4710b56e3
commit 153bb1c077
3 changed files with 13 additions and 2 deletions

View File

@ -102,6 +102,7 @@ class _CategoryDisplayState extends RefreshableState<CategoryDisplayWidget> {
ListTile(
title: Text("Parent Category"),
subtitle: Text("${category.parentpathstring}"),
leading: FaIcon(FontAwesomeIcons.sitemap),
onTap: () {
if (category.parentId < 0) {
Navigator.push(context, MaterialPageRoute(builder: (context) => CategoryDisplayWidget(null)));