fix: Console warnings from help-center routes (#5117)

This commit is contained in:
Sivin Varghese
2022-07-26 19:59:46 +05:30
committed by GitHub
parent 6a4c0a1578
commit 699b01c1d1

View File

@@ -36,7 +36,7 @@ const portalRoutes = [
},
{
path: getPortalRoute(':portalSlug'),
name: 'edit_portal',
name: 'portal_slug',
roles: ['administrator', 'agent'],
component: ShowPortal,
},
@@ -70,7 +70,7 @@ const articleRoutes = [
},
{
path: getPortalRoute(':portalSlug/:locale/articles/mine'),
name: 'list_all_locale_articles',
name: 'list_mine_articles',
roles: ['administrator', 'agent'],
component: ListMyArticles,
},
@@ -111,7 +111,7 @@ const categoryRoutes = [
path: getPortalRoute(
':portalSlug/:locale/categories/:categorySlug/articles'
),
name: 'show_category',
name: 'show_category_articles',
roles: ['administrator', 'agent'],
component: ListCategoryArticles,
},