From f87d6803052a7df9f18c801a34ff1d333e08589b Mon Sep 17 00:00:00 2001 From: Asara Date: Wed, 22 Jan 2020 23:30:35 -0500 Subject: [PATCH] More cleanup --- .env.development | 4 ++-- src/components/AuthMenu.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development index 6820261..13c5455 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ REACT_APP_API_PROTO=http:// -REACT_APP_API_DOMAIN=sudosci.test:8080 -REACT_APP_API_PATH=/v1/api/ +REACT_APP_API_DOMAIN=sudosci.test +REACT_APP_API_PATH=:8080/v1/api/ diff --git a/src/components/AuthMenu.js b/src/components/AuthMenu.js index 7bfd0f5..9d11d5a 100644 --- a/src/components/AuthMenu.js +++ b/src/components/AuthMenu.js @@ -198,10 +198,12 @@ class AuthMenu extends Component { case 'loggedIn': return (
+ { this.state.admin &&
+ }