mirror of
https://github.com/logto-io/logto.git
synced 2025-03-10 22:22:45 -05:00
Merge pull request #4360 from logto-io/charles-log-6973-fix-golang-guide-crashed
fix(console): fix Golang guide crash
This commit is contained in:
commit
669d7537fa
1 changed files with 3 additions and 2 deletions
|
@ -79,8 +79,9 @@ function UriInputField({ name, defaultValue }: Props) {
|
|||
}
|
||||
};
|
||||
|
||||
const defaultValueArray = data?.oidcClientMetadata[name].length
|
||||
? data.oidcClientMetadata[name]
|
||||
const clientMetadata = data?.oidcClientMetadata[name];
|
||||
const defaultValueArray = clientMetadata?.length
|
||||
? clientMetadata
|
||||
: conditional(defaultValue && [defaultValue]);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue