mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-19 13:33:13 +02:00
refactor: convert config variables to upper case
This commit is contained in:
@@ -130,7 +130,7 @@ const NavBar = () => {
|
||||
]);
|
||||
|
||||
useEffect(() => {
|
||||
if (config.get("showHomePage"))
|
||||
if (config.get("SHOW_HOME_PAGE"))
|
||||
setUnauthenticatedLinks((array) => [
|
||||
{
|
||||
link: "/",
|
||||
@@ -139,7 +139,7 @@ const NavBar = () => {
|
||||
...array,
|
||||
]);
|
||||
|
||||
if (config.get("allowRegistration"))
|
||||
if (config.get("ALLOW_REGISTRATION"))
|
||||
setUnauthenticatedLinks((array) => [
|
||||
...array,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user