Change boolean pipe to a Optional chaining pipe

Change boolean pipe to a Optional chaining pipe

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
kjuulh
2022-07-14 13:00:12 +02:00
parent 11a5ca35f3
commit 180c06d623
2 changed files with 2 additions and 2 deletions
@@ -52,7 +52,7 @@ export const OwnerPicker = (
]) as string[],
defaultKind: 'Group',
allowArbitraryValues:
uiSchema['ui:options']?.allowArbitraryValues || true,
uiSchema['ui:options']?.allowArbitraryValues ?? true,
},
};