mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
Set widget visibility to true if not explicitly set to false (#1627)
This commit is contained in:
parent
3697fe395d
commit
0ebe2bd921
1 changed files with 3 additions and 0 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue