mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Fix duplicate display of units
This commit is contained in:
parent
a37551a45b
commit
0140ffd96f
2 changed files with 1 additions and 8 deletions
|
|
@ -261,10 +261,6 @@ class InvenTreePart extends InvenTreeModel {
|
|||
|
||||
String q = simpleNumberString(inStock);
|
||||
|
||||
if (units.isNotEmpty) {
|
||||
q += " ${units}";
|
||||
}
|
||||
|
||||
return q;
|
||||
}
|
||||
|
||||
|
|
@ -282,10 +278,6 @@ class InvenTreePart extends InvenTreeModel {
|
|||
String get unallocatedStockString {
|
||||
String q = simpleNumberString(unallocatedStock);
|
||||
|
||||
if (units.isNotEmpty) {
|
||||
q += " ${units}";
|
||||
}
|
||||
|
||||
return q;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue