mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
null check on lastSync
This commit is contained in:
@@ -65,7 +65,7 @@ function initSyncService() {
|
||||
|
||||
self.apiService.getAccountRevisionDate(function (response) {
|
||||
var accountRevisionDate = new Date(response);
|
||||
if (accountRevisionDate <= lastSync) {
|
||||
if (lastSync && accountRevisionDate <= lastSync) {
|
||||
callback(false);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user