mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +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:
parent
23abcb48f2
commit
138cae2da0
19 changed files with 158 additions and 211 deletions
|
|
@ -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 "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue