mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
cipher request login subclass, sync fixes
This commit is contained in:
@@ -9,11 +9,16 @@
|
||||
|
||||
$scope.sync = function () {
|
||||
$scope.loading = true;
|
||||
syncService.fullSync(true, function () {
|
||||
$analytics.eventTrack('Synced Full');
|
||||
syncService.fullSync(true, function (success) {
|
||||
$scope.loading = false;
|
||||
toastr.success(i18nService.syncingComplete);
|
||||
setLastSync();
|
||||
if (success) {
|
||||
$analytics.eventTrack('Synced Full');
|
||||
toastr.success(i18nService.syncingComplete);
|
||||
}
|
||||
else {
|
||||
toastr.error(i18nService.syncingFailed);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user