Skip to content

Commit

Permalink
Fix error when clicking on the multiple agent selector (#5094)
Browse files Browse the repository at this point in the history
* fix(): fix console error when clicking in multiple agents selector

* changelog: add entry

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
(cherry picked from commit c107045)
  • Loading branch information
Desvelao committed Jan 10, 2023
1 parent aaa6f77 commit c17f9b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- A solaris command has been fixed [5035](https://github.com/wazuh/wazuh-kibana-app/pull/5035)
- Fixed commands: Aix, OpenSUSE, Alpine, Suse11, Fedora, HP, Oracle Linux 5, Amazon Linux 2, Centos5. Changed the word 'or higher' in buttons to '+'.Fixed validations for Hp, Solaris and Alpine. [5045](https://github.com/wazuh/wazuh-kibana-app/pull/5045)
- Fixed error in Github module PDF report. [5069](https://github.com/wazuh/wazuh-kibana-app/pull/5069)
- Fixed error when clicking on the selectors of agents in the group agents management [#5094](https://github.com/wazuh/wazuh-kibana-app/pull/5094)

### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export const MultipleAgentSelector = withErrorBoundary(
};

unselectElementsOfSelectByID(containerID) {
document.getElementById(containerID).options.forEach((option) => {
Array.from(document.getElementById(containerID).options).forEach((option) => {
option.selected = false;
});
}
Expand Down

0 comments on commit c17f9b2

Please sign in to comment.