mirror of
https://github.com/bitwarden/browser
synced 2026-01-03 00:53:23 +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');
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
<ion-view view-title="Settings">
|
||||
<ion-content>
|
||||
<div class="list">
|
||||
<div class="item item-divider">
|
||||
Manage
|
||||
</div>
|
||||
<a class="item" href="#">
|
||||
Folders
|
||||
</a>
|
||||
<a class="item" ng-click="sync()">
|
||||
Sync
|
||||
</a>
|
||||
<div class="item item-divider">
|
||||
Current Session
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user