From 30adcb1ac72299f6357a1a6242bfad0b20793871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chantal=20Bel=C3=A9n=20kelm?= <99441266+chantal-kelm@users.noreply.github.com> Date: Tue, 17 Sep 2024 05:25:08 -0300 Subject: [PATCH] Modify link to sample data in the section dashboards and references to opensearch dashboards (#311) Co-authored-by: JuanGarriuz --- CHANGELOG.md | 10 ++++++++++ .../application/utils/get_no_items_message.tsx | 17 ++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b927aee5376..5eefd63c1af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to the Wazuh app project will be documented in this file. +## Wazuh dashboard v4.9.1 - OpenSearch Dashboards 2.13.0 - Revision 00 + +### Added + +- Support for Wazuh 4.9.1 + +### Changed + +- Changed link to sample data in the dashboards section and references to Opensearch Dashboards [#311](https://github.com/wazuh/wazuh-dashboard/pull/311) + ## Wazuh dashboard v4.9.0 - OpenSearch Dashboards 2.13.0 - Revision 07 ### Added diff --git a/src/plugins/dashboard/public/application/utils/get_no_items_message.tsx b/src/plugins/dashboard/public/application/utils/get_no_items_message.tsx index 175cafdc7a5..80c342025ed 100644 --- a/src/plugins/dashboard/public/application/utils/get_no_items_message.tsx +++ b/src/plugins/dashboard/public/application/utils/get_no_items_message.tsx @@ -8,6 +8,7 @@ import { FormattedMessage } from '@osd/i18n/react'; import { EuiButton, EuiEmptyPrompt, EuiLink } from '@elastic/eui'; import { ApplicationStart } from 'opensearch-dashboards/public'; +const appName = 'Wazuh dashboard'; export const getNoItemsMessage = ( hideWriteControls: boolean, createItem: () => void, @@ -45,22 +46,20 @@ export const getNoItemsMessage = (

- application.navigateToApp('home', { - path: '#/tutorial_directory/sampleData', - }) - } - > + application.navigateToApp('sample-data')}>