fix top-bar. no test when grunt watch

This commit is contained in:
Gustavo Maximiliano Cortez 2014-10-28 09:40:35 -03:00
parent 7afe921fd2
commit 567363a8b8
2 changed files with 1 additions and 5 deletions

View File

@ -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: {

View File

@ -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(){