mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
Merge pull request #136 from bigcapitalhq/add-monorepo-version-on-sidebar
feat(webapp): add monorepo version on the sidebar
This commit is contained in:
@@ -34,10 +34,10 @@ export function Sidebar() {
|
||||
* @returns {React.JSX}
|
||||
*/
|
||||
function SidebarFooterVersion() {
|
||||
const { VERSION } = process.env;
|
||||
const { MONOREPO_VERSION } = process.env;
|
||||
|
||||
if (!VERSION) {
|
||||
if (!MONOREPO_VERSION) {
|
||||
return null;
|
||||
}
|
||||
return <div class="sidebar__version">v{VERSION}</div>;
|
||||
return <div class="sidebar__version">v{MONOREPO_VERSION}</div>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user