mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +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(
|
setFieldExist(
|
||||||
contextValue[contextField] !== undefined ||
|
contextValue[contextField] !== undefined ||
|
||||||
contextValue?.properties[contextField] !== undefined
|
contextValue?.properties?.[contextField] !==
|
||||||
|
undefined
|
||||||
);
|
);
|
||||||
} catch (error: unknown) {
|
} catch (error: unknown) {
|
||||||
return setError(formatUnknownError(error));
|
return setError(formatUnknownError(error));
|
||||||
|
Loading…
Reference in New Issue
Block a user