mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Set displaySearchBox property of table to true if its not already set (#592)
This commit is contained in:
parent
8612f8f0d6
commit
f2bd39a54e
1 changed files with 2 additions and 0 deletions
|
|
@ -340,6 +340,8 @@ class Table extends React.Component {
|
|||
const columns = component.component.definition.properties.columns;
|
||||
const actions = component.component.definition.properties.actions || { value: [] };
|
||||
|
||||
if (!component.component.definition.properties.displaySearchBox)
|
||||
paramUpdated({ name: 'displaySearchBox' }, 'value', true, 'properties');
|
||||
const displaySearchBox = component.component.definition.properties.displaySearchBox.value;
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in a new issue