Skip to content

Commit

Permalink
Hide discover deprecation notice (#6341)
Browse files Browse the repository at this point in the history
* Hide discover deprecation notice

* Update changelog

* Update changelog
  • Loading branch information
yenienserrano authored Jan 18, 2024
1 parent e4274d2 commit 21fa7f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Removed the ability to configure the visibility of modules and removed `extensions.*` settings [#5840](https://github.com/wazuh/wazuh-dashboard-plugins/pull/5840)
- Removed the application menu in the IT Hygiene application [#6176](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6176)
- Removed the implicit filter of WQL language of the search bar UI [#6174](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6174)
- Removed notice of old Discover deprecation [#6341](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6341)

## Wazuh v4.7.2 - OpenSearch Dashboards 2.8.0 - Revision 02

Expand Down
4 changes: 4 additions & 0 deletions plugins/main/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ export class WazuhPlugin
private innerAngularInitialized: boolean = false;
private hideTelemetryBanner?: () => void;
public async setup(core: CoreSetup, plugins: WazuhSetupPlugins): WazuhSetup {
// Hide the discover deprecation notice
// After opensearch version 2.11.0 this line may be deleted
localStorage.setItem('discover:deprecation-notice:show', 'false');

// Get custom logos configuration to start up the app with the correct logos
let logosInitialState = {};
try {
Expand Down

0 comments on commit 21fa7f7

Please sign in to comment.