@@ -41,12 +41,12 @@ function GluuAppSidebar({ scopes }) {
41
41
< SidebarMenu . Item
42
42
icon = { < i className = "fa fa-fw fa-home" > </ i > }
43
43
title = { t ( 'menus.home' ) }
44
- textStyle = { { fontSize :" 18px" , fontWeight :" 800" } }
44
+ textStyle = { { fontSize : ' 18px' , fontWeight : ' 800' } }
45
45
>
46
46
< SidebarMenu . Item
47
47
title = { t ( 'menus.dashboard' ) }
48
48
to = "/home/dashboard"
49
- textStyle = { { fontSize :" 18px" , fontWeight :" 600" } }
49
+ textStyle = { { fontSize : ' 18px' , fontWeight : ' 600' } }
50
50
exact
51
51
/>
52
52
</ SidebarMenu . Item >
@@ -59,7 +59,7 @@ function GluuAppSidebar({ scopes }) {
59
59
icon = { getMenuIcon ( plugin . icon ) }
60
60
to = { getMenuPath ( plugin ) }
61
61
title = { t ( `${ plugin . title } ` ) }
62
- textStyle = { { fontSize :" 18px" , fontWeight :" 800" } }
62
+ textStyle = { { fontSize : ' 18px' , fontWeight : ' 800' } }
63
63
>
64
64
{ hasChildren ( plugin ) &&
65
65
plugin . children . map ( ( item , idx ) => (
@@ -72,18 +72,18 @@ function GluuAppSidebar({ scopes }) {
72
72
}
73
73
to = { getMenuPath ( item ) }
74
74
icon = { getMenuIcon ( item . icon ) }
75
- textStyle = { { fontSize :" 18px" , fontWeight :" 600" } }
75
+ textStyle = { { fontSize : ' 18px' , fontWeight : ' 600' } }
76
76
exact
77
77
>
78
78
{ hasChildren ( item ) &&
79
- item . children . map ( ( sub , idx ) => (
79
+ item . children . map ( ( sub , id ) => (
80
80
< SidebarMenu . Item
81
- key = { idx }
81
+ key = { id }
82
82
title = { t ( `${ sub . title } ` ) }
83
83
to = { getMenuPath ( sub ) }
84
84
isEmptyNode = { ! hasPermission ( scopes , sub . permission ) }
85
85
icon = { getMenuIcon ( sub . icon ) }
86
- textStyle = { { fontSize :" 18px" , fontWeight :" 400" } }
86
+ textStyle = { { fontSize : ' 18px' , fontWeight : ' 400' } }
87
87
exact
88
88
> </ SidebarMenu . Item >
89
89
) ) }
@@ -98,7 +98,7 @@ function GluuAppSidebar({ scopes }) {
98
98
icon = { < i className = "fa fa-fw fa-sign-out mr-2" > </ i > }
99
99
title = { t ( 'menus.signout' ) }
100
100
to = "/logout"
101
- textStyle = { { fontSize :" 18px" , fontWeight :" 800" } }
101
+ textStyle = { { fontSize : ' 18px' , fontWeight : ' 800' } }
102
102
/>
103
103
</ SidebarMenu >
104
104
</ ErrorBoundary >
0 commit comments