mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
simplify tests and add console.log for debugging
This commit is contained in:
@@ -20,7 +20,9 @@ angular.module('habitrpg')
|
||||
|
||||
// Something has changed on the user object that was not tracked here, sync the user
|
||||
if (isNotSync && ($rootScope.User.user._v - oldUserV) > 1) {
|
||||
console.log('before sync', Date.now())
|
||||
$rootScope.User.sync();
|
||||
console.log('after sync', Date.now())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user