Commit 9b810da1 authored by Xavier Watkins's avatar Xavier Watkins
Browse files

Update logic for read only

parent 32a427a4
REACT_APP_BASE_URL=/gifts
REACT_APP_API_URL=/gifts/api
REACT_APP_AUTH_CALLBACK_URL=https://www.ebi.ac.uk/gifts/login
REACT_APP_READ_ONLY=false
\ No newline at end of file
REACT_APP_AUTH_CALLBACK_URL=https://www.ebi.ac.uk/gifts/login
\ No newline at end of file
REACT_APP_BASE_URL = /gifts
REACT_APP_API_URL = https://wwwdev.ebi.ac.uk/gifts/api
REACT_APP_AUTH_CALLBACK_URL = http://localhost:39093/login
......@@ -7,7 +7,7 @@
# misc
.DS_Store
.env.local
# .env.local
.env.development.local
.env.test.local
.env.production.local
......
......@@ -68,7 +68,7 @@ function Header(props) {
Feedback
</Link>
</li>
{process.env.REACT_APP_READ_ONLY ? loginLogoutLink : null}
{!process.env.REACT_APP_READ_ONLY && loginLogoutLink}
</ul>
</nav>
{/* <!-- /local-nav --> */}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment