File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed
Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export const CapabilitiesChip = ({
5555 } }
5656 >
5757 < Typography variant = { 'body2' } >
58- { CAPABILITY_LABEL_MAP [ name ] || name }
58+ { name }
5959 </ Typography >
6060 < Box display = { 'flex' } >
6161 { value ? < Check fontSize = 'small' /> : < Clear fontSize = 'small' /> }
@@ -74,11 +74,3 @@ export const CapabilityChipStyle = {
7474 border : '1px 1px solid black' ,
7575 backgroundColor : green [ 300 ] ,
7676} ;
77-
78- const CAPABILITY_LABEL_MAP : Record < string , string > = {
79- PublicRead : 'PublicReads' ,
80- Read : 'Reads' ,
81- Write : 'Writes' ,
82- Listing : 'Listings' ,
83- FallBackRead : 'DirectReads' ,
84- } ;
Original file line number Diff line number Diff line change 11export interface Capabilities {
2- PublicRead : boolean ;
3- Read : boolean ;
4- Write : boolean ;
5- Listing : boolean ;
6- FallBackRead : boolean ;
2+ PublicReads : boolean ;
3+ Reads : boolean ;
4+ Writes : boolean ;
5+ Listings : boolean ;
6+ DirectReads : boolean ;
77}
88
99export interface TokenGeneration {
You can’t perform that action at this time.
0 commit comments