mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 03:56:24 +00:00
Fix _connecting flag for API
This commit is contained in:
parent
0afac83483
commit
9324737813
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue