mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
only update last sync when success
This commit is contained in:
@@ -11,8 +11,8 @@ angular
|
|||||||
$scope.loading = true;
|
$scope.loading = true;
|
||||||
syncService.fullSync(true).then(function (success) {
|
syncService.fullSync(true).then(function (success) {
|
||||||
$scope.loading = false;
|
$scope.loading = false;
|
||||||
setLastSync();
|
|
||||||
if (success) {
|
if (success) {
|
||||||
|
setLastSync();
|
||||||
$analytics.eventTrack('Synced Full');
|
$analytics.eventTrack('Synced Full');
|
||||||
toastr.success(i18nService.syncingComplete);
|
toastr.success(i18nService.syncingComplete);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user