fix: Console warnings from help-center routes (#5117)
This commit is contained in:
parent
6a4c0a1578
commit
699b01c1d1
1 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ const portalRoutes = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: getPortalRoute(':portalSlug'),
|
path: getPortalRoute(':portalSlug'),
|
||||||
name: 'edit_portal',
|
name: 'portal_slug',
|
||||||
roles: ['administrator', 'agent'],
|
roles: ['administrator', 'agent'],
|
||||||
component: ShowPortal,
|
component: ShowPortal,
|
||||||
},
|
},
|
||||||
|
@ -70,7 +70,7 @@ const articleRoutes = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: getPortalRoute(':portalSlug/:locale/articles/mine'),
|
path: getPortalRoute(':portalSlug/:locale/articles/mine'),
|
||||||
name: 'list_all_locale_articles',
|
name: 'list_mine_articles',
|
||||||
roles: ['administrator', 'agent'],
|
roles: ['administrator', 'agent'],
|
||||||
component: ListMyArticles,
|
component: ListMyArticles,
|
||||||
},
|
},
|
||||||
|
@ -111,7 +111,7 @@ const categoryRoutes = [
|
||||||
path: getPortalRoute(
|
path: getPortalRoute(
|
||||||
':portalSlug/:locale/categories/:categorySlug/articles'
|
':portalSlug/:locale/categories/:categorySlug/articles'
|
||||||
),
|
),
|
||||||
name: 'show_category',
|
name: 'show_category_articles',
|
||||||
roles: ['administrator', 'agent'],
|
roles: ['administrator', 'agent'],
|
||||||
component: ListCategoryArticles,
|
component: ListCategoryArticles,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue