Skip to content

Commit

Permalink
[Fix]: Alert Channels breadcrumbs (#2669)
Browse files Browse the repository at this point in the history
* fix: wrong routes in route constants file

* fix: add channels name in beradcrumb map

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
  • Loading branch information
3 people committed May 10, 2023
1 parent 12349d7 commit f7cd0d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/constants/routes.ts
Expand Up @@ -16,8 +16,8 @@ const ROUTES = {
LIST_ALL_ALERT: '/alerts',
ALERTS_NEW: '/alerts/new',
ALL_CHANNELS: '/settings/channels',
CHANNELS_NEW: '/setting/channels/new',
CHANNELS_EDIT: '/setting/channels/edit/:id',
CHANNELS_NEW: '/settings/channels/new',
CHANNELS_EDIT: '/settings/channels/:id',
ALL_ERROR: '/exceptions',
ERROR_DETAIL: '/error-detail',
VERSION: '/status',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/container/TopNav/Breadcrumbs/index.tsx
Expand Up @@ -9,6 +9,7 @@ const breadcrumbNameMap = {
[ROUTES.SERVICE_MAP]: 'Service Map',
[ROUTES.USAGE_EXPLORER]: 'Usage Explorer',
[ROUTES.INSTRUMENTATION]: 'Get Started',
[ROUTES.ALL_CHANNELS]: 'Channels',
[ROUTES.SETTINGS]: 'Settings',
[ROUTES.DASHBOARD]: 'Dashboard',
[ROUTES.ALL_ERROR]: 'Exceptions',
Expand Down

0 comments on commit f7cd0d4

Please sign in to comment.