Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

management -> groups -> agent: selectors appear when there are more t… #4126

Merged
merged 8 commits into from
Apr 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Added missing fields used in visualizations to the known fiels related to alerts [#3924](https://github.com/wazuh/wazuh-kibana-app/pull/3924)
- Added troubleshooting link to "index pattern was refreshed" toast [#3946](https://github.com/wazuh/wazuh-kibana-app/pull/3946)
- Added more number options to the tables widget in Modules -> "Mitre" [#4041](https://github.com/wazuh/wazuh-kibana-app/pull/4066)

- Management -> groups -> agent: Selectors appear when there are more than 3 options [#4126](https://github.com/wazuh/wazuh-kibana-app/pull/4126)
### Changed

- Changed ossec to wazuh in sample-data [#3121](https://github.com/wazuh/wazuh-kibana-app/pull/3121)
Expand Down
13 changes: 6 additions & 7 deletions public/controllers/agent/components/export-configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,12 @@ export const ExportConfiguration = withErrorBoundary (class ExportConfiguration
compressed
/>
<EuiSpacer size="s" />
<EuiButtonEmpty size="xs" onClick={() => this.selectAll(true)}>
Select all
</EuiButtonEmpty>
<EuiSpacer size="s" />
<EuiButtonEmpty size="xs" onClick={() => this.selectAll(false)}>
Unselect all
</EuiButtonEmpty>
{this.options.length > 3 &&
<><EuiButtonEmpty size="xs" onClick={() => this.selectAll(true)}>
Select all
</EuiButtonEmpty><EuiSpacer size="s" /><EuiButtonEmpty size="xs" onClick={() => this.selectAll(false)}>
Unselect all
</EuiButtonEmpty></>}
<EuiSpacer size="m" />
<EuiButton
isDisabled={this.state.buttonDisabled}
Expand Down