Skip to content

Commit

Permalink
Add links to older github changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
255kb committed Nov 22, 2023
1 parent 37377ea commit 2747876
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pages/old-releases/[appname]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,24 @@ export default function OldReleasesIndex(props: {
</div>
);
})}
{props.app.appname === app.appname &&
(props.app.appname === 'desktop' ||
props.app.appname === 'cli') && (
<div className='list-group-item p-2 ps-8'>
<a
href={
(props.app.appname === 'desktop' &&
'https://github.com/mockoon/mockoon/releases') ||
(props.app.appname === 'cli' &&
'https://github.com/mockoon/cli/releases')
}
rel='noopener'
target='_blank'
>
Older changelogs on GitHub
</a>
</div>
)}
</Fragment>
);
})}
Expand Down

0 comments on commit 2747876

Please sign in to comment.