Skip to content

High performance self-hosted photo and video management solution.

fix(docs): allow no release specified for milestone (#9212)

Zack Pollarda2c040a47f30
diff --git a/docs/src/components/timeline.tsx b/docs/src/components/timeline.tsx
index d902073182..b4b56bd283 100644
--- a/docs/src/components/timeline.tsx
+++ b/docs/src/components/timeline.tsx
@@ -7,7 +7,7 @@ export interface Item {
icon: string;
title: string;
description?: string;
- release: string;
+ release?: string;
tag?: string;
date: Date;
dateType: DateType;
@@ -70,10 +70,10 @@ export default function Timeline({ items }: Props): JSX.Element {
target="_blank"
rel="noopener"
>
- [{item.release}]{' '}
+ [{item.release ?? item.tag}]{' '}
</a>
) : (
- <span>[{item.release}]</span>
+ item.release && <span>[{item.release}]</span>
)}
</span>
</div>