1
0
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:
Kyle Spearrin
2016-09-06 23:30:49 -04:00
parent 5a39d4c73e
commit 4092e2ecc3
11 changed files with 85 additions and 58 deletions

View File

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