Merge pull request #8505 from bryant1410/patch-2 [ci skip]

Fix double slash in model release web page
This commit is contained in:
Ines Montani 2021-06-28 12:51:06 +10:00
parent edcaf9a1d7
commit b8e8cd4482

View File

@ -218,7 +218,7 @@ const Model = ({
} }
}, [initialized, version, baseUrl, name]) }, [initialized, version, baseUrl, name])
const releaseTag = meta.fullName ? `/tag/${meta.fullName}` : '' const releaseTag = meta.fullName ? `tag/${meta.fullName}` : ''
const releaseUrl = `https://github.com/${repo}/releases/${releaseTag}` const releaseUrl = `https://github.com/${repo}/releases/${releaseTag}`
const pipeline = linkComponents(meta.pipeline) const pipeline = linkComponents(meta.pipeline)
const components = linkComponents(meta.components) const components = linkComponents(meta.components)