feat: display hyperdx version at the bottom of app nav bar (#181)

<img width="206" alt="Screenshot 2024-01-04 at 12 20 23 AM" src="https://github.com/hyperdxio/hyperdx/assets/5959690/3a23c503-56b4-4aa0-964e-cc61063ab2fd">
This commit is contained in:
Warren 2024-01-04 14:00:33 -08:00 committed by GitHub
parent 95e2bc0ef8
commit 3c29bcf6fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,6 @@
---
'@hyperdx/app': patch
'@hyperdx/api': patch
---
feat: display hyperdx version at the bottom of app nav bar

View file

@ -13,6 +13,8 @@ import {
} from 'use-query-params';
import HyperDX from '@hyperdx/browser';
import { version } from '../package.json';
import api from './api';
import AuthLoadingBlocker from './AuthLoadingBlocker';
import { API_SERVER_URL } from './config';
@ -897,6 +899,9 @@ export default function AppNav({ fixed = false }: { fixed?: boolean }) {
</Link>
</div>
</div>
<div className="d-flex justify-content-end align-items-end">
<span className="text-muted-hover fs-7">v{version}</span>
</div>
</div>
</>
);