aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/app/LoopUI.js
diff options
context:
space:
mode:
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 d0f5aa329..7de6ad01b 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>
);
}