mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +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({
|
userData.homePageRoutes.push({
|
||||||
route: 'custom',
|
route: 'custom',
|
||||||
name: 'Custom',
|
name: 'Custom',
|
||||||
|
|||||||
Reference in New Issue
Block a user