mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-16 12:15:31 +00:00
Search improvements (#388)
* Refactor search widget - visual improvements - Simplifications - Add refresh button - Improve search button * Track original search * fix BOM widget * Update release notes
This commit is contained in:
@ -117,7 +117,16 @@ class InvenTreeStockItemHistory extends InvenTreeModel {
|
||||
}
|
||||
}
|
||||
|
||||
String get userString => getString("username", subKey: "user_detail");
|
||||
int? get user => getValue("user") as int?;
|
||||
|
||||
String get userString {
|
||||
|
||||
if (user != null) {
|
||||
return getString("username", subKey: "user_detail");
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user