mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
fixes: appliedTags, add moment to rootScope (repeat i18n issues). Also,
discard the sync-queue if errors were detected. Previously, if an op triggered server error, the op is still in the queue and will keep trying. Thus, in-browser user is corrupt - they'll need to logout / clear localStorage. This *should* fix that, while still allowing the sync-queue to build up when offline (status appears to == 0 in those cases). @paglias just FYI - should be good, but wanna loop you in just in case.
This commit is contained in:
@@ -11,6 +11,7 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
|
||||
$rootScope.modals.achievements = {};
|
||||
$rootScope.User = User;
|
||||
$rootScope.user = user;
|
||||
$rootScope.moment = window.moment;
|
||||
$rootScope.settings = User.settings;
|
||||
$rootScope.Shared = window.habitrpgShared;
|
||||
$rootScope.Content = window.habitrpgShared.content;
|
||||
|
||||
Reference in New Issue
Block a user