File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
site/src/components/Resources Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ import { AgentLatency } from "./AgentLatency"
42
42
import { AgentMetadata } from "./AgentMetadata"
43
43
import { AgentVersion } from "./AgentVersion"
44
44
import { AgentStatus } from "./AgentStatus"
45
+ import Collapse from "@material-ui/core/Collapse"
45
46
46
47
export interface AgentRowProps {
47
48
agent : WorkspaceAgent
@@ -282,7 +283,7 @@ export const AgentRow: FC<AgentRowProps> = ({
282
283
283
284
{ hasStartupFeatures && (
284
285
< div className = { styles . logsPanel } >
285
- { showStartupLogs && (
286
+ < Collapse in = { showStartupLogs } >
286
287
< AutoSizer disableHeight >
287
288
{ ( { width } ) => (
288
289
< List
@@ -305,7 +306,8 @@ export const AgentRow: FC<AgentRowProps> = ({
305
306
</ List >
306
307
) }
307
308
</ AutoSizer >
308
- ) }
309
+ </ Collapse >
310
+
309
311
< div className = { styles . logsPanelButtons } >
310
312
{ showStartupLogs ? (
311
313
< button
You can’t perform that action at this time.
0 commit comments