You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-10 23:22:22 +02:00
fix(docs): allow no release specified for milestone (#9212)
fix(docs): make release optional in milestones default to tag if not specified when tag is also specified
This commit is contained in:
@@ -7,7 +7,7 @@ export interface Item {
|
|||||||
icon: string;
|
icon: string;
|
||||||
title: string;
|
title: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
release: string;
|
release?: string;
|
||||||
tag?: string;
|
tag?: string;
|
||||||
date: Date;
|
date: Date;
|
||||||
dateType: DateType;
|
dateType: DateType;
|
||||||
@@ -70,10 +70,10 @@ export default function Timeline({ items }: Props): JSX.Element {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener"
|
rel="noopener"
|
||||||
>
|
>
|
||||||
[{item.release}]{' '}
|
[{item.release ?? item.tag}]{' '}
|
||||||
</a>
|
</a>
|
||||||
) : (
|
) : (
|
||||||
<span>[{item.release}]</span>
|
item.release && <span>[{item.release}]</span>
|
||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user