summaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/app/LoopUI.js
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2019-07-09 11:52:20 +0200
committerxuegao <xg353y@intl.att.com>2019-07-10 11:58:56 +0200
commit7c7323d8ec54e65ac7a9a5e8c7cd8bdc755ea70a (patch)
tree7f77ec10c6f9bd3b13f6c94978477ee3323b9a41 /ui-react/src/components/app/LoopUI.js
parentc8d6130e6355a6f8f460c114ed7bac0221eb0020 (diff)
Create login page and add wiki/contact item
Create the login page for Clamp Ui; Add wiki/contact page which chould be selected from the menu bar. Issue-ID: CLAMP-416, CLAMP-417 Change-Id: Idddafd9c59a1e4d2897e962c831060e55083025c Signed-off-by: xuegao <xg353y@intl.att.com>
Diffstat (limited to 'ui-react/src/components/app/LoopUI.js')
-rw-r--r--ui-react/src/components/app/LoopUI.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui-react/src/components/app/LoopUI.js b/ui-react/src/components/app/LoopUI.js
index d0f5aa32..7de6ad01 100644
--- a/ui-react/src/components/app/LoopUI.js
+++ b/ui-react/src/components/app/LoopUI.js
@@ -70,8 +70,7 @@ const LoopViewLoopNameSpanStyle = styled.span`
`
export default class LoopUI extends React.Component {
-
- user = "testuser";
+
loopName="Empty (NO loop loaded yet)";
renderMenuNavBar() {
@@ -83,7 +82,7 @@ export default class LoopUI extends React.Component {
renderUserLoggedNavBar() {
return (
<Navbar.Text>
- Signed in as: <a href="login">{this.user}</a>
+ Signed in as: <a href="login">{localStorage.getItem('user')}</a>
</Navbar.Text>
);
}