mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00: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
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue