mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
fix: empty object playground (#4842)
This commit is contained in:
parent
e6cdf5a540
commit
40b9c46018
@ -63,7 +63,8 @@ export const PlaygroundCodeFieldset: VFC<IPlaygroundCodeFieldsetProps> = ({
|
||||
|
||||
setFieldExist(
|
||||
contextValue[contextField] !== undefined ||
|
||||
contextValue?.properties[contextField] !== undefined
|
||||
contextValue?.properties?.[contextField] !==
|
||||
undefined
|
||||
);
|
||||
} catch (error: unknown) {
|
||||
return setError(formatUnknownError(error));
|
||||
|
Loading…
Reference in New Issue
Block a user