mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-16 04:05:28 +00:00
Fix duplicate display of units
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user