Skip to content

Commit

Permalink
Change home button navigation on click
Browse files Browse the repository at this point in the history
  • Loading branch information
yenienserrano committed Feb 8, 2024
1 parent 6d63137 commit 546dd0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/public/chrome/chrome_service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export class ChromeService {
forceAppSwitcherNavigation$={navLinks.getForceAppSwitcherNavigation$()}
helpExtension$={helpExtension$.pipe(takeUntil(this.stop$))}
helpSupportUrl$={helpSupportUrl$.pipe(takeUntil(this.stop$))}
homeHref={http.basePath.prepend('/app/home')}
homeHref={http.basePath.prepend('/app/wz-home')}
isVisible$={this.isVisible$}
opensearchDashboardsVersion={injectedMetadata.getWazuhVersion()}
navLinks$={navLinks.getNavLinks$()}
Expand Down
2 changes: 1 addition & 1 deletion src/core/public/chrome/ui/header/header_logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function onClick(
event.stopPropagation();
}
} else {
navigateToApp('home');
navigateToApp('wz-home');
event.preventDefault();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/public/chrome/ui/header/home_loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function onClick(
event.stopPropagation();
}
} else {
navigateToApp('home');
navigateToApp('wz-home');
event.preventDefault();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/utils/default_app_categories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const DEFAULT_APP_CATEGORIES: Record<string, AppCategory> = Object.freeze
euiIconType: 'logoSecurity',
},
dashboardManagement: {
id: 'wzCategoryDashboardManagement',
id: 'wz-category-dashboard-management',
label: i18n.translate('core.ui.dashboardManagementNavList.label', {
defaultMessage: 'Dashboard management',
}),
Expand Down

0 comments on commit 546dd0a

Please sign in to comment.