mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00
Fix crash in app list page for normal user
This commit is contained in:
parent
221c55aa93
commit
98722fd681
@ -37,7 +37,7 @@ const AppListPage = (props) => {
|
|||||||
return applications.map(application => {
|
return applications.map(application => {
|
||||||
let homepageUrl = application.homepageUrl;
|
let homepageUrl = application.homepageUrl;
|
||||||
if (homepageUrl === "<custom-url>") {
|
if (homepageUrl === "<custom-url>") {
|
||||||
homepageUrl = this.props.account.homepage;
|
homepageUrl = props.account.homepage;
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user