mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 21:46:46 +00:00
Fix _connecting flag for API
This commit is contained in:
parent
0afac83483
commit
9324737813
@ -143,7 +143,7 @@ class InvenTreeAPI {
|
|||||||
// Connection status flag - set once connection has been validated
|
// Connection status flag - set once connection has been validated
|
||||||
bool _connected = false;
|
bool _connected = false;
|
||||||
|
|
||||||
bool _connecting = true;
|
bool _connecting = false;
|
||||||
|
|
||||||
bool isConnected() {
|
bool isConnected() {
|
||||||
return profile != null && _connected && baseUrl.isNotEmpty && _token.isNotEmpty;
|
return profile != null && _connected && baseUrl.isNotEmpty && _token.isNotEmpty;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user