Skip to content

Commit bf1af21

Browse files
authored
fix: remove access column header (#2976)
1 parent 8e17254 commit bf1af21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/src/components/Resources/Resources.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const Language = {
2222
resourceLabel: "Resource",
2323
agentsLabel: "Agents",
2424
agentLabel: "Agent",
25-
accessLabel: "Access",
2625
}
2726

2827
interface ResourcesProps {
@@ -64,7 +63,7 @@ export const Resources: FC<ResourcesProps> = ({
6463
<AgentHelpTooltip />
6564
</Stack>
6665
</TableCell>
67-
{canUpdateWorkspace && <TableCell>{Language.accessLabel}</TableCell>}
66+
{canUpdateWorkspace && <TableCell></TableCell>}
6867
</TableHeaderRow>
6968
</TableHead>
7069
<TableBody>
@@ -80,7 +79,7 @@ export const Resources: FC<ResourcesProps> = ({
8079
if (!agent) {
8180
return (
8281
<TableRow key={`${resource.id}-${agentIndex}`}>
83-
<TableCell className={styles.resourceNameCell}>
82+
<TableCell>
8483
{resource.name}
8584
<span className={styles.resourceType}>{resource.type}</span>
8685
</TableCell>
@@ -164,7 +163,7 @@ const useStyles = makeStyles((theme) => ({
164163

165164
// Adds some left spacing
166165
agentColumn: {
167-
paddingLeft: `${theme.spacing(2)}px !important`,
166+
paddingLeft: `${theme.spacing(4)}px !important`,
168167
},
169168

170169
agentInfo: {
@@ -184,5 +183,6 @@ const useStyles = makeStyles((theme) => ({
184183
display: "flex",
185184
gap: theme.spacing(0.5),
186185
flexWrap: "wrap",
186+
justifyContent: "flex-end",
187187
},
188188
}))

0 commit comments

Comments
 (0)