Filter out archived companies from new issue company selector

Companies with status "archived" are now hidden from the company
dropdown in the NewIssueDialog, matching the expected behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dotta
2026-03-04 12:20:14 -06:00
parent 675e0dcff1
commit 18c9eb7b1e

View File

@@ -527,7 +527,7 @@ export function NewIssueDialog() {
</button>
</PopoverTrigger>
<PopoverContent className="w-48 p-1" align="start">
{companies.map((c) => (
{companies.filter((c) => c.status !== "archived").map((c) => (
<button
key={c.id}
className={cn(