Disabled statistics
This commit is contained in:
parent
c58679834d
commit
da5c900e3d
@ -25,7 +25,10 @@ component Sidebar(user *arn.User)
|
|||||||
SidebarButton("Groups", "/groups", "users")
|
SidebarButton("Groups", "/groups", "users")
|
||||||
|
|
||||||
SidebarButton("Shop", "/shop", "shopping-cart")
|
SidebarButton("Shop", "/shop", "shopping-cart")
|
||||||
|
|
||||||
|
if user.Role == "admin" || user.Role == "editor"
|
||||||
SidebarButton("Statistics", "/statistics", "pie-chart")
|
SidebarButton("Statistics", "/statistics", "pie-chart")
|
||||||
|
|
||||||
SidebarButton("Settings", "/settings", "cog")
|
SidebarButton("Settings", "/settings", "cog")
|
||||||
|
|
||||||
.spacer
|
.spacer
|
||||||
|
Loading…
Reference in New Issue
Block a user