This commit is contained in:
Mo Bitar
2017-01-26 01:00:47 -06:00
parent 5141b963bc
commit ac5569429d
10 changed files with 66 additions and 50 deletions

View File

@@ -7,10 +7,11 @@ class AccountDataMenu {
};
}
controller($scope, apiController, modelManager, keyManager) {
controller($scope, apiController, modelManager, keyManager, syncManager) {
'ngInject';
$scope.keys = keyManager.keys;
$scope.syncProviders = syncManager.syncProviders;
$scope.destroyLocalData = function() {
if(!confirm("Are you sure you want to end your session? This will delete all local items, sync providers, keys, and extensions.")) {

View File

@@ -10,6 +10,8 @@ angular
link: function(scope, elem, attrs) {
var showTimer;
showElement(false);
//This is where all the magic happens!
// Whenever the scope variable updates we simply
// show if it evaluates to 'true' and hide if 'false'