Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf9075ca

Browse files
authored
fix: Hide agent status when a workspace is stopped (#4185)
Fixes#4033.
1 parentb64f624 commitf9075ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎site/src/components/Resources/Resources.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,14 @@ export const Resources: FC<React.PropsWithChildren<ResourcesProps>> = ({
9898
{
9999
/* If there is no agent, just display the resource name */
100100
}
101-
if(!agent){
101+
if(!agent||workspace.latest_build.transition==="stop"){
102102
return(
103103
<TableRowkey={`${resource.id}-${agentIndex}`}>
104104
<TableCell>{resourceName}</TableCell>
105105
<TableCellcolSpan={3}></TableCell>
106106
</TableRow>
107107
)
108108
}
109-
110109
const{ displayVersion, outdated}=getDisplayVersionStatus(
111110
agent.version,
112111
serverVersion,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp