1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-01 04:37:40 +02:00

only update last sync when success

This commit is contained in:
Kyle Spearrin 2017-11-24 11:40:02 -05:00
parent 15a618596b
commit 95022337ea

View File

@ -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);
}