An issue being worked on no longer offers Bring your own agent beside the pull request doing it
1 file+2−10/1 viewed
| 569 | 569 | )} | |
| 570 | 570 | </section> | |
| 571 | 571 | ||
| 572 | − | {open && ( | |
| 572 | + | {/* Another way to start the work: not once a pull request is doing it. */} | |
| 573 | + | {open && !pulls.some((pull) => pull.status === "open" || pull.status === "draft") && ( | |
| 573 | 574 | <section className="rounded-xl border border-line bg-surface p-4"> | |
| 574 | 575 | <h3 className="text-sm font-medium">Bring your own agent</h3> | |
| 575 | 576 | <p className="mt-1 text-xs text-muted"> |