mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: wrong data returned in available.groups
This commit is contained in:
@@ -28,7 +28,7 @@ navigationController.get = async function (req, res) {
|
||||
});
|
||||
|
||||
admin.available.forEach(function (available) {
|
||||
available.groups = groups;
|
||||
available.groups = admin.groups;
|
||||
});
|
||||
|
||||
admin.navigation = admin.enabled.slice();
|
||||
|
||||
Reference in New Issue
Block a user