diff --git a/thehive_button/package.json b/thehive_button/package.json index 6ece1988b9d9f123629a297da309024b25922544..c9cd952869a919c885eb582dd0d654b62b5af10a 100644 --- a/thehive_button/package.json +++ b/thehive_button/package.json @@ -1,6 +1,6 @@ { "name": "thehive_button", - "version": "1.0.0", + "version": "1.1.0", "description": "Visualisation plugin which creates a simple button to create a new case in The Hive.", "main": "index.js", "kibana": { 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}