mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-04 20:03:18 +00:00
Add counters
This commit is contained in:
parent
bd19047b9b
commit
443c545ed2
4 changed files with 16 additions and 19 deletions
|
|
@ -239,8 +239,9 @@ List<Widget> detailTiles() {
|
|||
ListTile(
|
||||
title: Text(
|
||||
I18N.of(context).sublocations,
|
||||
style: TextStyle(fontWeight: FontWeight.bold)
|
||||
style: TextStyle(fontWeight: FontWeight.bold),
|
||||
),
|
||||
trailing: sublocations.length > 0 ? Text("${sublocations.length}") : null,
|
||||
),
|
||||
];
|
||||
|
||||
|
|
@ -266,7 +267,8 @@ List<Widget> detailTiles() {
|
|||
title: Text(
|
||||
I18N.of(context).stockItems,
|
||||
style: TextStyle(fontWeight: FontWeight.bold)
|
||||
)
|
||||
),
|
||||
trailing: _items.length > 0 ? Text("${_items.length}") : null,
|
||||
)
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue