Skip to content

Commit

Permalink
Fix endpoints summary agent action buttons navigation (#6893)
Browse files Browse the repository at this point in the history
* Fix endpoints summary agent action buttons navigation

* Add changelog
  • Loading branch information
asteriscos authored Aug 1, 2024
1 parent 6035f0e commit 422ff84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Improve margins and paddings in the Events, Inventory and Control tabs [#6708](https:/wazuh/wazuh-dashboard-plugins/pull/6708)
- Refactored the search bar to correctly handle fixed and user-added filters [#6716](https:/wazuh/wazuh-dashboard-plugins/pull/6716) [#6755](https:/wazuh/wazuh-dashboard-plugins/pull/6755) [#6833](https:/wazuh/wazuh-dashboard-plugins/pull/6833)
- Generate URL with predefined filters [#6745](https:/wazuh/wazuh-dashboard-plugins/pull/6745)
- Migrated AngularJS routing to ReactJS [#6689](https:/wazuh/wazuh-dashboard-plugins/pull/6689) [#6775](https:/wazuh/wazuh-dashboard-plugins/pull/6775) [#6790](https:/wazuh/wazuh-dashboard-plugins/pull/6790)
- Migrated AngularJS routing to ReactJS [#6689](https:/wazuh/wazuh-dashboard-plugins/pull/6689) [#6775](https:/wazuh/wazuh-dashboard-plugins/pull/6775) [#6790](https:/wazuh/wazuh-dashboard-plugins/pull/6790) [#6893](https:/wazuh/wazuh-dashboard-plugins/pull/6893)
- Improvement of the filter management system by implementing new standard modules [#6534](https:/wazuh/wazuh-dashboard-plugins/pull/6534) [#6772](https:/wazuh/wazuh-dashboard-plugins/pull/6772) [#6873](https:/wazuh/wazuh-dashboard-plugins/pull/6873)
- Changed permalink field in the Events tab table in Virustotal to show an external link [#6839](https:/wazuh/wazuh-dashboard-plugins/pull/6839)
- Changed the logging system to use the provided by the platform [#6161](https:/wazuh/wazuh-dashboard-plugins/pull/6161)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ export const agentsTableActions = (
color: 'primary',
enabled: agent => agent.status !== API_NAME_AGENT_STATUS.NEVER_CONNECTED,
onClick: agent =>
NavigationService.getInstance().navigateToApp(endpointSummary.id, {
path: `#/agents?tab=welcome&agent=${agent.id}`,
}),
NavigationService.getInstance().navigate(
`/agents?tab=welcome&agent=${agent.id}`,
),
},
{
name: agent => {
Expand All @@ -57,9 +57,9 @@ export const agentsTableActions = (
icon: 'wrench',
type: 'icon',
onClick: agent =>
NavigationService.getInstance().navigateToApp(endpointSummary.id, {
path: `#/agents?tab=configuration&agent=${agent.id}`,
}),
NavigationService.getInstance().navigate(
`/agents?tab=configuration&agent=${agent.id}`,
),
enabled: agent => agent.status !== API_NAME_AGENT_STATUS.NEVER_CONNECTED,
'data-test-subj': 'action-configuration',
},
Expand Down

0 comments on commit 422ff84

Please sign in to comment.