diff --git a/thehive_button/public/vis_controller.js b/thehive_button/public/vis_controller.js index 7b3ee14406a71e94830fa6bf29642bbfe100106d..62682f6cac5900f7e64738f122f5d0080a4d45a4 100644 --- a/thehive_button/public/vis_controller.js +++ b/thehive_button/public/vis_controller.js @@ -512,7 +512,7 @@ class ObservablesTable extends Component { <EuiAccordion id="accordion-{this.props.fieldName}" buttonContent={<EuiTitle size="xs"><h4>{this.props.fieldName.replace(/\.keyword$/, "")} ({this.props.obsSel.length}/{n_obs})</h4></EuiTitle>} - initialIsOpen={n_obs <= 3} + initialIsOpen={n_obs > 0 && n_obs <= 3} > <EuiBasicTable ref={this.tableRef}