mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-19 11:15:21 +01:00
only update last sync when success
This commit is contained in:
parent
15a618596b
commit
95022337ea
@ -11,8 +11,8 @@ angular
|
||||
$scope.loading = true;
|
||||
syncService.fullSync(true).then(function (success) {
|
||||
$scope.loading = false;
|
||||
setLastSync();
|
||||
if (success) {
|
||||
setLastSync();
|
||||
$analytics.eventTrack('Synced Full');
|
||||
toastr.success(i18nService.syncingComplete);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user