Fix incorrect site setting.
This commit is contained in:
parent
6d00650972
commit
7d307d6f29
|
@ -103,7 +103,7 @@ export default createWidget('hamburger-menu', {
|
||||||
links.push({ route: 'users', className: 'user-directory-link', label: 'directory.title' });
|
links.push({ route: 'users', className: 'user-directory-link', label: 'directory.title' });
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.siteSettings.show_group_directory) {
|
if (this.siteSettings.enable_group_directory) {
|
||||||
links.push({ route: 'groups', className: 'groups-link', label: 'groups.index.title' });
|
links.push({ route: 'groups', className: 'groups-link', label: 'groups.index.title' });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue