mirror of https://github.com/BTCPrivate/copay.git
fix top-bar. no test when grunt watch
This commit is contained in:
parent
7afe921fd2
commit
567363a8b8
|
@ -83,10 +83,6 @@ module.exports = function(grunt) {
|
|||
config: {
|
||||
files: ['config.js'],
|
||||
tasks: ['shell:dev', 'concat:main']
|
||||
},
|
||||
test: {
|
||||
files: ['test/**/*.js', 'js/**/*.js'],
|
||||
tasks: ['mochaTest']
|
||||
}
|
||||
},
|
||||
mochaTest: {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
angular.module('copayApp.controllers').controller('HeadController', function($scope, $rootScope, notification, controllerUtils) {
|
||||
|
||||
$scope.username = $rootScope.iden.profile.email;
|
||||
$scope.username = $rootScope.iden ? $rootScope.iden.fullName || $rootScope.iden.email : 'undefined';
|
||||
$scope.hoverMenu = false;
|
||||
|
||||
$scope.hoverIn = function(){
|
||||
|
|
Loading…
Reference in New Issue