mirror of
https://github.com/immich-app/immich.git
synced 2025-06-02 21:24:28 -04: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:
parent
959b3f05d2
commit
a2c040a47f
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user