Tweak page URL defaulting
This commit is contained in:
parent
5ab3c8b823
commit
7a15bb65c4
3 changed files with 12 additions and 5 deletions
|
@ -460,10 +460,11 @@ const LoggedInView = React.createClass({
|
|||
case PageTypes.HomePage:
|
||||
{
|
||||
const pagesConfig = this.props.config.pages;
|
||||
let pageUrl;
|
||||
let pageUrl = null;
|
||||
if (pagesConfig) {
|
||||
pageUrl = pagesConfig.homeUrl;
|
||||
} else {
|
||||
}
|
||||
if (!pageUrl) {
|
||||
// This is a deprecated config option for the home page
|
||||
// (despite the name, given we also now have a welcome
|
||||
// page, which is not the same).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue