commit
0853632827
2 changed files with 4 additions and 6 deletions
|
|
@ -8,9 +8,9 @@ angular.module('copayApp.controllers').controller('AddressesController',
|
||||||
|
|
||||||
$scope.loading = false;
|
$scope.loading = false;
|
||||||
$scope.showAll = false;
|
$scope.showAll = false;
|
||||||
var w = $rootScope.wallet;
|
|
||||||
|
|
||||||
$scope.newAddr = function() {
|
$scope.newAddr = function() {
|
||||||
|
var w = $rootScope.wallet;
|
||||||
$scope.loading = true;
|
$scope.loading = true;
|
||||||
w.generateAddress(null, function() {
|
w.generateAddress(null, function() {
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('HeadController', function($scope, $rootScope, $filter, notification, controllerUtils) {
|
angular.module('copayApp.controllers').controller('HeadController', function($scope, $rootScope, $filter, notification, controllerUtils) {
|
||||||
|
$scope.username = $rootScope.iden.getName();
|
||||||
$scope.username = $rootScope.iden ? $rootScope.iden.fullName || $rootScope.iden.email : 'undefined';
|
|
||||||
$scope.hoverMenu = false;
|
$scope.hoverMenu = false;
|
||||||
|
|
||||||
$scope.hoverIn = function() {
|
$scope.hoverIn = function() {
|
||||||
|
|
@ -53,4 +52,3 @@ angular.module('copayApp.controllers').controller('HeadController', function($sc
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue