File tree Expand file tree Collapse file tree
plugins/main/public/components/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export const PoliciesTable = ({
7272 {
7373 field : 'id' ,
7474 name : 'ID' ,
75- width : 75 ,
75+ width : '75' ,
7676 sortable : true ,
7777 truncateText : true ,
7878 } ,
@@ -113,7 +113,7 @@ export const PoliciesTable = ({
113113 )
114114 ) ;
115115 } ,
116- width : 150 ,
116+ width : ' 150' ,
117117 sortable : false ,
118118 } ,
119119 {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { closeFlyout } from '../../common/flyouts/close-flyout-security';
1818export const Policies = withUserAuthorizationPrompt ( [
1919 { action : 'security:read' , resource : 'policy:id:*' } ,
2020] ) ( ( ) => {
21- const [ policies , setPolicies ] = useState ( '' ) ;
21+ const [ policies , setPolicies ] = useState ( [ ] ) ;
2222 const [ loading , setLoading ] = useState ( false ) ;
2323 const [ isCreatingPolicy , setIsCreatingPolicy ] = useState ( false ) ;
2424 const [ isEditingPolicy , setIsEditingPolicy ] = useState ( false ) ;
Original file line number Diff line number Diff line change @@ -75,14 +75,14 @@ export const RolesTable = ({
7575 {
7676 field : 'id' ,
7777 name : 'ID' ,
78- width : 75 ,
78+ width : '75' ,
7979 sortable : true ,
8080 truncateText : true ,
8181 } ,
8282 {
8383 field : 'name' ,
8484 name : 'Name' ,
85- width : 200 ,
85+ width : ' 200' ,
8686 sortable : true ,
8787 truncateText : true ,
8888 } ,
@@ -147,7 +147,7 @@ export const RolesTable = ({
147147 )
148148 ) ;
149149 } ,
150- width : 150 ,
150+ width : ' 150' ,
151151 sortable : false ,
152152 } ,
153153 {
You can’t perform that action at this time.
0 commit comments