mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 21:30:24 +08:00
@ -83,7 +83,7 @@ export function getAllPromptedProviderItems(application) {
|
||||
}
|
||||
|
||||
export function getSignupItem(application, itemName) {
|
||||
const signupItems = application.signupItems.filter(signupItem => signupItem.name === itemName);
|
||||
const signupItems = application.signupItems?.filter(signupItem => signupItem.name === itemName);
|
||||
if (signupItems.length === 0) {
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user