Skip to content

Commit 744a067

Browse files
fix[frontend](data_sources): removed loading indicator after output arrives from command execution (#2334)
1 parent 4ff6701 commit 744a067

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

frontend/src/features/datasources/components/AgentConsole.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ export function AgentConsole({
113113
agentId,
114114
{ command, shell },
115115
{
116-
onOutput: (d) => append('out', d),
116+
onOutput: (d) =>{
117+
append('out', d);
118+
setRunning(false);
119+
},
117120
onError: (m) => append('err', m),
118121
onDone: () => {
119122
setRunning(false)

0 commit comments

Comments
 (0)