feat: add is_board_lead property to agent and board types
This commit is contained in:
@@ -31,6 +31,7 @@ type Agent = {
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
board_id?: string | null;
|
||||
is_board_lead?: boolean;
|
||||
};
|
||||
|
||||
type Board = {
|
||||
@@ -106,6 +107,7 @@ export default function AgentDetailPage() {
|
||||
return boards.find((board) => board.id === agent.board_id) ?? null;
|
||||
}, [boards, agent?.board_id]);
|
||||
|
||||
|
||||
const loadAgent = async () => {
|
||||
if (!isSignedIn || !agentId) return;
|
||||
setIsLoading(true);
|
||||
|
||||
Reference in New Issue
Block a user