mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 05:26:47 +00:00
Check connection before searching
This commit is contained in:
parent
3a2b906b77
commit
89b48876fc
@ -33,6 +33,9 @@ class InvenTreeDrawer extends StatelessWidget {
|
||||
}
|
||||
|
||||
void _search() {
|
||||
|
||||
if (!InvenTreeAPI().checkConnection(context)) return;
|
||||
|
||||
_closeDrawer();
|
||||
|
||||
showSearch(
|
||||
|
Loading…
x
Reference in New Issue
Block a user