Skip to content

Commit

Permalink
Fix os name
Browse files Browse the repository at this point in the history
  • Loading branch information
aminick committed Oct 7, 2021
1 parent 37030df commit 1bfeb48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/guides/flexfarmer/FlexfarmerDownloadLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ export const FlexfarmerDownloadLink: React.FC<{
<div>
Version {version}{' '}
<span style={{ color: 'var(--text-tertiary)' }}>|</span>{' '}
{os !== 'others' && `${os}/`}
{os !== 'others'
? `${os}/`
: `${info.name.split(' ')[0].toLowerCase()}/`}
{info.arch}
</div>
</FlexfarmerDownloadInfoBox>
Expand Down

0 comments on commit 1bfeb48

Please sign in to comment.