Fix gravatar on sidebar
This commit is contained in:
parent
7b20301f0c
commit
f9b292e80e
5 changed files with 33 additions and 27 deletions
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('HeadController', function($scope, $rootScope, $filter, $timeout, notification, identityService, balanceService) {
|
||||
$scope.username = $rootScope.iden.getName();
|
||||
$scope.username = $rootScope.iden ? $rootScope.iden.getName() : '';
|
||||
$scope.hoverMenu = false;
|
||||
|
||||
var isChromeApp = typeof window !== "undefined" && window.chrome && chrome.runtime && chrome.runtime.id;
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
|
|||
|
||||
$scope.isMobile = isMobile.any();
|
||||
$scope.isCordova = isCordova;
|
||||
$scope.username = $rootScope.iden ? $rootScope.iden.getName() : '';
|
||||
|
||||
$scope.menu = [{
|
||||
'title': 'Home',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue