mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
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:
parent
95e2bc0ef8
commit
3c29bcf6fd
2 changed files with 11 additions and 0 deletions
6
.changeset/great-knives-love.md
Normal file
6
.changeset/great-knives-love.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
'@hyperdx/app': patch
|
||||
'@hyperdx/api': patch
|
||||
---
|
||||
|
||||
feat: display hyperdx version at the bottom of app nav bar
|
||||
|
|
@ -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>
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue