Skip to content
Snippets Groups Projects
Verified Commit 66bace5e authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

fix: Add link to old API versions

parent 2a32da3a
No related branches found
No related tags found
No related merge requests found
...@@ -33,8 +33,10 @@ export default function ApiSpec(props) { ...@@ -33,8 +33,10 @@ export default function ApiSpec(props) {
return ( return (
<div> <div>
<p>Die aktuell angezeigte Version der API ist {status === 'success' && <p>Die aktuell angezeigte Version der API ist {status === 'success' &&
<code>{latestVersion}</code>} {status === 'success' && <code>{latestVersion}</code>} {status === 'success' &&
<DownloadLabel baseURL={SCHEMA_BASE_URL} version={latestVersion} artifact={props.artifact}/>}.</p> <DownloadLabel baseURL={SCHEMA_BASE_URL} version={latestVersion} artifact={props.artifact}/>}.
Alle vorherigen Versionen <a href={SCHEMA_BASE_URL}>finden sich hier.</a>
</p>
{status === 'success' && latestVersion && <rapi-doc {status === 'success' && latestVersion && <rapi-doc
render-style="view" render-style="view"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment