mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
fix sync and vault listing bugs
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
angular
|
||||
.module('bit.settings')
|
||||
|
||||
.controller('settingsController', function ($scope, loginService, $state) {
|
||||
.controller('settingsController', function ($scope, loginService, $state, syncService) {
|
||||
$scope.sync = function () {
|
||||
syncService.fullSync(function () {
|
||||
alert('Sync done!');
|
||||
});
|
||||
};
|
||||
|
||||
$scope.logOut = function (model) {
|
||||
loginService.logOut(function () {
|
||||
$state.go('login');
|
||||
|
||||
Reference in New Issue
Block a user