8000 feat: resources card by presleyp · Pull Request #1627 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: resources card #1627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tests
  • Loading branch information
presleyp committed May 20, 2022
commit 1289ad29b301d8e67c423b9575a0d35a0974ae8f
2 changes: 1 addition & 1 deletion site/src/components/Resources/Resources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const Resources: React.FC<ResourcesProps> = ({ resources, getResourcesErr
</TableHead>
<TableBody>
{resource.agents?.map((agent) => (
<TableRow key={agent.id}>
<TableRow key={`${resource.id}-${agent.id}`}>
<TableCell size="small">{agent.name}</TableCell>
<TableCell size="small">{agent.status}</TableCell>
</TableRow>
Expand Down
1 change: 1 addition & 0 deletions site/src/testHelpers/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ export const MockWorkspaceAgent: TypesGen.WorkspaceAgent = {

export const MockWorkspaceAgentDisconnected: TypesGen.WorkspaceAgent = {
...MockWorkspaceAgent,
id: "test-workspace-agent-2",
name: "another-workspace-agent",
status: "disconnected",
}
Expand Down
0