mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
force a hard-refresh if an error is detected (temporary, revisit if
causing issues)
This commit is contained in:
parent
75b966bda4
commit
7e82e2f5e0
1 changed files with 1 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ angular.module('userServices', []).
|
|||
// Clear the queue. Better if we can hunt down the problem op, but this is the easiest solution
|
||||
settings.sync.queue = settings.sync.sent = [];
|
||||
save();
|
||||
window.location.reload(true);
|
||||
|
||||
// But if we're offline, queue up offline actions so we can send when we're back online
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue