This is an automated email from the ASF dual-hosted git repository.
gongchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
The following commit(s) were added to refs/heads/master by this push:
new 428ae1f7d5 [bugfix]Fix page not found (#3014)
428ae1f7d5 is described below
commit 428ae1f7d5108d00c828d28ae46067245cd479a1
Author: Logic <[email protected]>
AuthorDate: Thu Jan 23 19:49:02 2025 +0800
[bugfix]Fix page not found (#3014)
Co-authored-by: tomsun28 <[email protected]>
---
web-app/src/app/routes/alert/alert-routing.module.ts | 2 +-
web-app/src/app/routes/routes-routing.module.ts | 2 +-
web-app/src/assets/app-data.json | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/web-app/src/app/routes/alert/alert-routing.module.ts
b/web-app/src/app/routes/alert/alert-routing.module.ts
index 0200c4887b..203ef2c8eb 100644
--- a/web-app/src/app/routes/alert/alert-routing.module.ts
+++ b/web-app/src/app/routes/alert/alert-routing.module.ts
@@ -36,7 +36,7 @@ const routes: Routes = [
{ path: 'silence', component: AlertSilenceComponent },
{ path: 'group', component: AlertGroupConvergeComponent },
{ path: 'inhibit', component: AlertInhibitComponent },
- { path: 'integration/:source', component: AlertIntegrationComponent }
+ { path: 'integration/:source', component: AlertIntegrationComponent, data: {
titleI18n: 'menu.alert.integration' } }
];
@NgModule({
diff --git a/web-app/src/app/routes/routes-routing.module.ts
b/web-app/src/app/routes/routes-routing.module.ts
index f4f86a0b95..752d36fe66 100644
--- a/web-app/src/app/routes/routes-routing.module.ts
+++ b/web-app/src/app/routes/routes-routing.module.ts
@@ -20,7 +20,7 @@ const routes: Routes = [
children: [
{ path: '', redirectTo: 'dashboard', pathMatch: 'full' },
{ path: 'dashboard', component: DashboardComponent, data: { titleI18n:
'menu.dashboard' } },
- { path: 'bulletin', component: BulletinComponent, data: { titleI18n:
'menu.dashboard' } },
+ { path: 'bulletin', component: BulletinComponent, data: { titleI18n:
'menu.monitor.bulletin' } },
{ path: 'exception', loadChildren: () =>
import('./exception/exception.module').then(m => m.ExceptionModule) },
{ path: 'monitors', loadChildren: () =>
import('./monitor/monitor.module').then(m => m.MonitorModule) },
{ path: 'alert', loadChildren: () =>
import('./alert/alert.module').then(m => m.AlertModule) },
diff --git a/web-app/src/assets/app-data.json b/web-app/src/assets/app-data.json
index 726700a432..5f55c39b36 100644
--- a/web-app/src/assets/app-data.json
+++ b/web-app/src/assets/app-data.json
@@ -148,7 +148,6 @@
"icon": "anticon-calculator",
"link": "/alert/setting"
},
-
{
"text": "Integration",
"i18n": "menu.alert.integration",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]