Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove web ui version and keep revision #2000

Merged
merged 3 commits into from
Aug 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/navigation/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ export const NavBar = ({ t }) => {
const bugsUrl = `${codeUrl}/issues`
const gitRevision = process.env.REACT_APP_GIT_REV
const revisionUrl = `${codeUrl}/commit/${gitRevision}`
const webUiVersion = process.env.REACT_APP_VERSION
const webUiVersionUrl = `${codeUrl}/releases/tag/v${webUiVersion}`
return (
<div className='h-100 fixed-l flex flex-column justify-between' style={{ overflowY: 'auto', width: 'inherit' }}>
<div className='flex flex-column'>
Expand All @@ -75,9 +73,6 @@ export const NavBar = ({ t }) => {
</div>
</div>
<div className='dn db-l navbar-footer mb2 tc center f7 o-80 glow'>
{ webUiVersion && <div className='mb1'>
<a className='link white' href={webUiVersionUrl} target='_blank' rel='noopener noreferrer'>{t('app:terms.ui')} v{webUiVersion}</a>
</div> }
{ gitRevision && <div className='mb1'>
<a className='link white' href={revisionUrl} target='_blank' rel='noopener noreferrer'>{t('app:nav.revision')} {gitRevision}</a>
</div> }
Expand Down