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

TheHiveButton: better headers of observable tables

parent c6c1396d
No related branches found
No related tags found
No related merge requests found
......@@ -511,7 +511,7 @@ class ObservablesTable extends Component {
<>
<EuiAccordion
id="accordion-{this.props.fieldName}"
buttonContent={<EuiTitle size="xs"><h4>{this.props.fieldName} ({n_obs})</h4></EuiTitle>}
buttonContent={<EuiTitle size="xs"><h4>{this.props.fieldName.replace(/\.keyword$/, "")} ({this.props.obsSel.length}/{n_obs})</h4></EuiTitle>}
initialIsOpen={n_obs <= 3}
>
<EuiBasicTable
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment