fix top-bar. no test when grunt watch
This commit is contained in:
parent
7afe921fd2
commit
567363a8b8
2 changed files with 1 additions and 5 deletions
|
|
@ -83,10 +83,6 @@ module.exports = function(grunt) {
|
||||||
config: {
|
config: {
|
||||||
files: ['config.js'],
|
files: ['config.js'],
|
||||||
tasks: ['shell:dev', 'concat:main']
|
tasks: ['shell:dev', 'concat:main']
|
||||||
},
|
|
||||||
test: {
|
|
||||||
files: ['test/**/*.js', 'js/**/*.js'],
|
|
||||||
tasks: ['mochaTest']
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mochaTest: {
|
mochaTest: {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('HeadController', function($scope, $rootScope, notification, controllerUtils) {
|
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.hoverMenu = false;
|
||||||
|
|
||||||
$scope.hoverIn = function(){
|
$scope.hoverIn = function(){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue