mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 11:13:46 +00:00
sync loading spinner
This commit is contained in:
@@ -3,10 +3,13 @@
|
||||
|
||||
.controller('settingsSyncController', function ($scope, syncService, toastr) {
|
||||
$scope.lastSync = '--';
|
||||
$scope.loading = false;
|
||||
setLastSync();
|
||||
|
||||
$scope.sync = function () {
|
||||
$scope.loading = true;
|
||||
syncService.fullSync(function () {
|
||||
$scope.loading = false;
|
||||
toastr.success('Syncing complete');
|
||||
setLastSync();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user