diff --git a/administration/.env.development b/administration/.env.development index 2cd256f2e..1ae99b01c 100644 --- a/administration/.env.development +++ b/administration/.env.development @@ -1 +1,2 @@ REACT_APP_API_BASE_URL=http://localhost:8000 +REACT_APP_VERSION=$npm_package_version diff --git a/administration/.env.production b/administration/.env.production index ab316e0f1..cf5456338 100644 --- a/administration/.env.production +++ b/administration/.env.production @@ -1 +1,2 @@ REACT_APP_API_BASE_URL=https://api.entitlementcard.app +REACT_APP_VERSION=$npm_package_version diff --git a/administration/src/bp-modules/NavigationBar.tsx b/administration/src/bp-modules/NavigationBar.tsx index 4996d8d8c..668b3b173 100644 --- a/administration/src/bp-modules/NavigationBar.tsx +++ b/administration/src/bp-modules/NavigationBar.tsx @@ -33,7 +33,7 @@ const Navigation = (props: Props) => {
{config.name} Verwaltung
{!region ? null : ( - {region.prefix} {region.name} + {region.prefix} {region.name} {`(${process.env.REACT_APP_VERSION})`} )}