2
0
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:
Oliver Walters 2021-05-20 00:14:56 +10:00
parent 3a2b906b77
commit 89b48876fc

View File

@ -33,6 +33,9 @@ class InvenTreeDrawer extends StatelessWidget {
}
void _search() {
if (!InvenTreeAPI().checkConnection(context)) return;
_closeDrawer();
showSearch(