Skip to content
Snippets Groups Projects
Commit eeff1ced authored by Václav Bartoš's avatar Václav Bartoš
Browse files

TheHiveButton: don't open empty observable lists, increase version

parent d3c061e7
No related branches found
No related tags found
No related merge requests found
{
"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": {
......
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment