2
0
mirror of https://github.com/inventree/inventree-app.git synced 2026-04-26 03:13:25 +00:00

Check connection before searching

This commit is contained in:
Oliver Walters
2021-05-20 00:14:56 +10:00
parent 3a2b906b77
commit 89b48876fc
+3
View File
@@ -33,6 +33,9 @@ class InvenTreeDrawer extends StatelessWidget {
}
void _search() {
if (!InvenTreeAPI().checkConnection(context)) return;
_closeDrawer();
showSearch(