mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 03:56:24 +00:00
Progress dialog is now a part of the model GET request
This commit is contained in:
parent
ca7505796d
commit
8bd022bccd
10 changed files with 41 additions and 33 deletions
|
|
@ -62,7 +62,7 @@ class _PartDisplayState extends State<PartDetailWidget> {
|
|||
leading: FaIcon(FontAwesomeIcons.stream),
|
||||
onTap: () {
|
||||
if (part.categoryId > 0) {
|
||||
InvenTreePartCategory().get(part.categoryId).then((var cat) {
|
||||
InvenTreePartCategory().get(context, part.categoryId).then((var cat) {
|
||||
Navigator.push(context, MaterialPageRoute(
|
||||
builder: (context) => CategoryDisplayWidget(cat)));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue