Fix required getting toggled on when creating new UP attribute. (#20735)
Fixes #20536
This commit is contained in:
parent
6ef73892a1
commit
b63fccb062
1 changed files with 3 additions and 1 deletions
|
@ -213,7 +213,9 @@ export default function NewAttributeSettings() {
|
|||
{
|
||||
name: profileConfig.name,
|
||||
displayName: profileConfig.displayName!,
|
||||
required: profileConfig.isRequired ? profileConfig.required : {},
|
||||
required: profileConfig.isRequired
|
||||
? profileConfig.required
|
||||
: undefined,
|
||||
selector: profileConfig.selector,
|
||||
permissions: profileConfig.permissions!,
|
||||
annotations,
|
||||
|
|
Loading…
Reference in a new issue