Don't trigger initial passive login before viewmodels are available
Closes #1374
This commit is contained in:
1 parent
ad201b040d
commit
397f762182
1 file changed
+2
-1
@@ -129,7 +129,8 @@ $(function() {
|
||||
self.allViewModels = allViewModels;
|
||||
};
|
||||
|
||||
self.onServerConnect = self.onServerReconnect = function() {
|
||||
self.onStartupComplete = self.onServerConnect = self.onServerReconnect = function() {
|
||||
if (self.allViewModels == undefined) return;
|
||||
self.requestData();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user