Set widget visibility to true if not explicitly set to false (#1627)

This commit is contained in:
Sherfin Shamsudeen 2021-12-23 13:45:03 +05:30 committed by GitHub
parent 3697fe395d
commit 0ebe2bd921
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,6 +102,9 @@ export const Box = function Box({
const ComponentToRender = AllComponents[component.component];
const resolvedProperties = resolveProperties(component, currentState);
const resolvedStyles = resolveStyles(component, currentState);
resolvedStyles.visibility = resolvedStyles.visibility !== false ? true : false;
const exposedVariables = currentState?.components[component.name] ?? {};
const fireEvent = (eventName, options) => {