add platform version to UI

This commit is contained in:
Maidul Islam
2023-10-17 23:04:27 +01:00
parent 072e97b956
commit cdc8ef95ab
2 changed files with 3 additions and 1 deletions

View File

@@ -32,6 +32,8 @@ ARG POSTHOG_API_KEY
ENV NEXT_PUBLIC_POSTHOG_API_KEY $POSTHOG_API_KEY ENV NEXT_PUBLIC_POSTHOG_API_KEY $POSTHOG_API_KEY
ARG INTERCOM_ID ARG INTERCOM_ID
ENV NEXT_PUBLIC_INTERCOM_ID $INTERCOM_ID ENV NEXT_PUBLIC_INTERCOM_ID $INTERCOM_ID
ARG INFISICAL_PLATFORM_VERSION
ENV NEXT_PUBLIC_INFISICAL_PLATFORM_VERSION $INFISICAL_PLATFORM_VERSION
# Build # Build
RUN npm run build RUN npm run build

View File

@@ -692,7 +692,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
{infisicalPlatformVersion && ( {infisicalPlatformVersion && (
<div className="mb-2 w-full pl-5 duration-200 hover:text-mineshaft-200"> <div className="mb-2 w-full pl-5 duration-200 hover:text-mineshaft-200">
<FontAwesomeIcon icon={faInfo} className="mr-4 px-[0.1rem]" /> <FontAwesomeIcon icon={faInfo} className="mr-4 px-[0.1rem]" />
Platform Version: {infisicalPlatformVersion} Version: {infisicalPlatformVersion}
</div> </div>
)} )}
</div> </div>