File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
portal-ui/src/screens/Console/Buckets/BucketDetails Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import { useSelector } from "react-redux";
19
19
import { useParams } from "react-router-dom" ;
20
20
import { Theme } from "@mui/material/styles" ;
21
21
import { AddIcon , Button } from "mds" ;
22
- import { Paper } from "@mui/material" ;
23
22
import createStyles from "@mui/styles/createStyles" ;
24
23
import { ErrorResponseHandler } from "../../../../common/types" ;
25
24
import TableWrapper from "../../Common/TableWrapper/TableWrapper" ;
@@ -219,7 +218,7 @@ const AccessRule = () => {
219
218
</ TooltipWrapper >
220
219
</ SecureComponent >
221
220
</ Grid >
222
- < Paper className = { classes . tableBlock } >
221
+ < Grid item sx = { { border : "#EAEDEE 1px solid" } } >
223
222
< SecureComponent
224
223
scopes = { [ IAM_SCOPES . S3_GET_BUCKET_POLICY , IAM_SCOPES . S3_GET_ACTIONS ] }
225
224
resource = { bucketName }
@@ -229,7 +228,13 @@ const AccessRule = () => {
229
228
noBackground = { true }
230
229
itemActions = { AccessRuleActions }
231
230
columns = { [
232
- { label : "Prefix" , elementKey : "prefix" } ,
231
+ {
232
+ label : "Prefix" ,
233
+ elementKey : "prefix" ,
234
+ renderFunction : ( prefix : string ) => {
235
+ return prefix || "/" ;
236
+ } ,
237
+ } ,
233
238
{ label : "Access" , elementKey : "access" } ,
234
239
] }
235
240
isLoading = { loadingAccessRules }
@@ -238,7 +243,7 @@ const AccessRule = () => {
238
243
idField = "prefix"
239
244
/>
240
245
</ SecureComponent >
241
- </ Paper >
246
+ </ Grid >
242
247
</ Fragment >
243
248
) ;
244
249
} ;
You can’t perform that action at this time.
0 commit comments