Skip to content

Commit 1475530

Browse files
Apply suggestions from code review
Co-authored-by: Martin Helmich <kontakt@martin-helmich.de>
1 parent 54f2d4d commit 1475530

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎src/lib/context/projectOverview.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,11 @@ export function formatOverviewEntry({
172172
status,
173173
id,
174174
}: OverviewEntryData): string {
175-
return `${shortId ?? ""} ( ${name} ): ${status} ( ${id} )`;
175+
if (shortId) {
176+
return `${name} (${shortId}): ${status} (${id})`;
177+
} else {
178+
return `${name}: ${status} (${id})`;
179+
}
176180
}
177181

178182
export async function resolveProjectContext(

0 commit comments

Comments
 (0)