mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
closes #4648
This commit is contained in:
@@ -104,6 +104,10 @@ settingsController.get = function(req, res, callback) {
|
||||
}
|
||||
});
|
||||
|
||||
if (isCustom && userData.settings.homePageRoute === 'none') {
|
||||
isCustom = false;
|
||||
}
|
||||
|
||||
userData.homePageRoutes.push({
|
||||
route: 'custom',
|
||||
name: 'Custom',
|
||||
|
||||
Reference in New Issue
Block a user