mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 15:47:08 +00:00
Special support for obsolete tags
This commit is contained in:
@@ -28,7 +28,7 @@ export function VersionDetail({ id, version }: Props) {
|
||||
const { value: changes } = useAsync(fetchChangelogs, [])
|
||||
|
||||
const filteredChangelogs = useMemo(() =>
|
||||
changes?.filter(c => c.version === id || c.group === id),
|
||||
changes?.filter(c => c.version === id || (c.group === id && !c.tags.includes('obsolete'))),
|
||||
[id, changes])
|
||||
|
||||
const articleLink = version && getArticleLink(version.id)
|
||||
|
||||
Reference in New Issue
Block a user