mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-24 08:20:31 +08:00
improve application homepage
This commit is contained in:
parent
05fade1d05
commit
f5a05ac534
@ -61,8 +61,13 @@ class HomePage extends React.Component {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.state.applications.forEach(application => {
|
this.state.applications.forEach(application => {
|
||||||
|
let homepageUrl = application.homepageUrl;
|
||||||
|
if (homepageUrl === "<custom-url>") {
|
||||||
|
homepageUrl = this.props.account.homepage;
|
||||||
|
}
|
||||||
|
|
||||||
items.push({
|
items.push({
|
||||||
link: application.homepageUrl, name: application.displayName, organizer: application.description, logo: application.logo, createdTime: "",
|
link: homepageUrl, name: application.displayName, organizer: application.description, logo: application.logo, createdTime: "",
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user