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";
1919import { useParams } from "react-router-dom" ;
2020import { Theme } from "@mui/material/styles" ;
2121import { AddIcon , Button } from "mds" ;
22- import { Paper } from "@mui/material" ;
2322import createStyles from "@mui/styles/createStyles" ;
2423import { ErrorResponseHandler } from "../../../../common/types" ;
2524import TableWrapper from "../../Common/TableWrapper/TableWrapper" ;
@@ -219,7 +218,7 @@ const AccessRule = () => {
219218 </ TooltipWrapper >
220219 </ SecureComponent >
221220 </ Grid >
222- < Paper className = { classes . tableBlock } >
221+ < Grid item sx = { { border : "#EAEDEE 1px solid" } } >
223222 < SecureComponent
224223 scopes = { [ IAM_SCOPES . S3_GET_BUCKET_POLICY , IAM_SCOPES . S3_GET_ACTIONS ] }
225224 resource = { bucketName }
@@ -229,7 +228,13 @@ const AccessRule = () => {
229228 noBackground = { true }
230229 itemActions = { AccessRuleActions }
231230 columns = { [
232- { label : "Prefix" , elementKey : "prefix" } ,
231+ {
232+ label : "Prefix" ,
233+ elementKey : "prefix" ,
234+ renderFunction : ( prefix : string ) => {
235+ return prefix || "/" ;
236+ } ,
237+ } ,
233238 { label : "Access" , elementKey : "access" } ,
234239 ] }
235240 isLoading = { loadingAccessRules }
@@ -238,7 +243,7 @@ const AccessRule = () => {
238243 idField = "prefix"
239244 />
240245 </ SecureComponent >
241- </ Paper >
246+ </ Grid >
242247 </ Fragment >
243248 ) ;
244249} ;
You can’t perform that action at this time.
0 commit comments