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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user