mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 13:09:33 -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