diff --git a/index.html b/index.html index 68403923e..f237e4bf0 100644 --- a/index.html +++ b/index.html @@ -82,37 +82,38 @@ Network Error.
Attempting to reconnect..
-
- - + - -
-
+ +
+
+
diff --git a/js/controllers/head.js b/js/controllers/head.js index a2b2e40db..9fbfb6bf1 100644 --- a/js/controllers/head.js +++ b/js/controllers/head.js @@ -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; diff --git a/js/controllers/sidebar.js b/js/controllers/sidebar.js index ab1ee5ff1..8904f7a55 100644 --- a/js/controllers/sidebar.js +++ b/js/controllers/sidebar.js @@ -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', diff --git a/views/includes/sidebar-mobile.html b/views/includes/sidebar-mobile.html index 14904a91b..1964e7156 100644 --- a/views/includes/sidebar-mobile.html +++ b/views/includes/sidebar-mobile.html @@ -1,7 +1,7 @@
- +
{{$root.iden.getName()}}
diff --git a/views/profile.html b/views/profile.html index ce710ce9d..b0fd4825c 100644 --- a/views/profile.html +++ b/views/profile.html @@ -4,7 +4,11 @@