Skip to content

Commit

Permalink
Fix the unpin button in agent selection modal (#2980)
Browse files Browse the repository at this point in the history
* Fix the unpin button in agent selection modal

* Fixed Changelog.md

* Creating revision 4102 in changelog.md

Co-authored-by: Toni <[email protected]>
  • Loading branch information
2 people authored and frankeros committed Mar 9, 2021
1 parent bb0d4a6 commit 55884c7
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 @@ -17,6 +17,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Fix some date fields format in FIM and SCA modules [#2975](https://github.com/wazuh/wazuh-kibana-app/pull/2975)
- Fix a non-stop error in Manage agents when the user has no permissions [#2976](https://github.com/wazuh/wazuh-kibana-app/pull/2976)
- Can't edit empty rules and decoders files that already exist in the manager [#2978](https://github.com/wazuh/wazuh-kibana-app/pull/2978)
- Fix the unpin agent in the selection modal [#2980](https://github.com/wazuh/wazuh-kibana-app/pull/2980)

## Wazuh v4.1.0 - Kibana 7.10.0 , 7.10.2 - Revision 4101

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,8 @@ export class AgentSelectionTable extends Component {

unselectAgents(){
this._isMounted && this.setState({itemIdToSelectedMap: {}});
this.props.removeAgentsFilter(true);
store.dispatch(updateCurrentAgentData({}));
this.props.removeAgentsFilter();
}

getSelectedCount(){
Expand Down

0 comments on commit 55884c7

Please sign in to comment.