summaryrefslogtreecommitdiffstats
path: root/app/common/directives/app-header.js
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-01-29 13:21:12 -0800
committerGunnar Mills <gmills@us.ibm.com>2020-02-11 16:43:22 +0000
commit4148f2eee6313068d3223871005160b2902abb18 (patch)
tree5266cfee8f41eda2224479d2c911c3128988a38a /app/common/directives/app-header.js
parentb0a0847a8eb02ae21f755942799a81c6e3475e64 (diff)
downloadphosphor-webui-master.tar.gz
phosphor-webui-master.zip
Create profile settings pageHEADmaster
Adding a profile settings page so readonly and operator roles are able to change their own password. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iee9536255ad47f4df4af8746c1e01da37c407f2b
Diffstat (limited to 'app/common/directives/app-header.js')
-rw-r--r--app/common/directives/app-header.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/common/directives/app-header.js b/app/common/directives/app-header.js
index 98d210f..df39772 100644
--- a/app/common/directives/app-header.js
+++ b/app/common/directives/app-header.js
@@ -14,6 +14,7 @@ window.angular && (function(angular) {
function(
$rootScope, $scope, dataService, userModel, $location, $route) {
$scope.dataService = dataService;
+ $scope.username = '';
try {
// Create a secure websocket with URL as /subscribe
@@ -118,6 +119,7 @@ window.angular && (function(angular) {
$scope.loadNetworkInfo();
$scope.loadServerHealth();
$scope.loadSystemName();
+ $scope.username = dataService.getUser();
}
loadData();
OpenPOWER on IntegriCloud