show correct action for storage
This commit is contained in:
parent
73c80fd6d4
commit
b8faee872e
2 changed files with 9 additions and 6 deletions
|
|
@ -51,6 +51,13 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
|||
};
|
||||
|
||||
|
||||
$scope.selectStorage = function (storage) {
|
||||
$scope.useLocalstorage = storage == 'local';
|
||||
$timeout(function() {
|
||||
$scope.$digest();
|
||||
}, 1);
|
||||
};
|
||||
|
||||
$scope.setStorage = function(useLocalstorage) {
|
||||
console.log('[createProfile.js.53:useLocalstorage:]', useLocalstorage); //TODO
|
||||
console.log('[createProfile.js.53:useLocalstorage:]', $scope.useLocalstorage); //TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue