mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 20:43:36 +00:00
feat: address pr comments
This commit is contained in:
@@ -97,13 +97,8 @@ export function RunningAgentsView() {
|
||||
);
|
||||
|
||||
const handleViewLogs = useCallback((agent: RunningAgent) => {
|
||||
// Set the current project context for the modal
|
||||
const project = projects.find((p) => p.path === agent.projectPath);
|
||||
if (project) {
|
||||
(window as any).__currentProject = project;
|
||||
}
|
||||
setSelectedAgent(agent);
|
||||
}, [projects]);
|
||||
}, []);
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
@@ -232,6 +227,7 @@ export function RunningAgentsView() {
|
||||
<AgentOutputModal
|
||||
open={true}
|
||||
onClose={() => setSelectedAgent(null)}
|
||||
projectPath={selectedAgent.projectPath}
|
||||
featureDescription={selectedAgent.description || selectedAgent.title || selectedAgent.featureId}
|
||||
featureId={selectedAgent.featureId}
|
||||
featureStatus="running"
|
||||
|
||||
Reference in New Issue
Block a user