fix: Incorrect icon color on completed issue unfurl

This commit is contained in:
Tom Moor
2024-04-23 08:50:57 -04:00
parent da29aa5fcb
commit d5500540a4

View File

@@ -101,7 +101,9 @@ const presentIssue = (
})), })),
state: { state: {
name: data.state, name: data.state,
color: GitHubUtils.getColorForStatus(data.state), color: GitHubUtils.getColorForStatus(
data.state === "closed" ? "done" : data.state
),
}, },
createdAt: data.created_at, createdAt: data.created_at,
}); });