Commit

An issue being worked on no longer offers Bring your own agent beside the pull request doing it

syntaqxcommitted Parent3348046Browse files
1 file+2−10/1 viewed
+2−1
569569 )}
570570 </section>
571571
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") && (
573574 <section className="rounded-xl border border-line bg-surface p-4">
574575 <h3 className="text-sm font-medium">Bring your own agent</h3>
575576 <p className="mt-1 text-xs text-muted">