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

Commitbf1af21

Browse files
authored
fix: remove access column header (#2976)
1 parent8e17254 commitbf1af21

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
interfaceResourcesProps{
@@ -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
<TableRowkey={`${resource.id}-${agentIndex}`}>
83-
<TableCellclassName={styles.resourceNameCell}>
82+
<TableCell>
8483
{resource.name}
8584
<spanclassName={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)

[8]ページ先頭

©2009-2025 Movatter.jp