mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
UX: Do not show the groups directory if disabled.
Staff could still the groups directory before.
This commit is contained in:
parent
64c4171937
commit
5be41faa8c
@ -155,10 +155,7 @@ export default createWidget("hamburger-menu", {
|
||||
});
|
||||
}
|
||||
|
||||
if (
|
||||
this.siteSettings.enable_group_directory ||
|
||||
(this.currentUser && this.currentUser.staff)
|
||||
) {
|
||||
if (this.siteSettings.enable_group_directory) {
|
||||
links.push({
|
||||
route: "groups",
|
||||
className: "groups-link",
|
||||
|
Loading…
Reference in New Issue
Block a user