Skip to content

Commit

Permalink
Merge pull request #60 from strapi/fix/admin-path-buttons
Browse files Browse the repository at this point in the history
(fix): add missing admin path for settings page links
  • Loading branch information
Mcastres authored Nov 22, 2023
2 parents 2d3b735 + a0fc7aa commit 96b5078
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion admin/src/components/HomePage/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Header = (seoComponent) => {
seoComponent ? null : (
<LinkButton
variant="tertiary"
to="/plugins/content-type-builder/component-categories/shared/shared.seo"
to="/admin/plugins/content-type-builder/component-categories/shared/shared.seo"
startIcon={<Pencil />}
>
{formatMessage({
Expand Down
6 changes: 3 additions & 3 deletions admin/src/components/HomePage/Main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const Main = ({ contentTypes }) => {
<LinkButton
startIcon={<Plus />}
variant="secondary"
href={`/plugins/content-type-builder/content-types/${item.uid}`}
href={`/admin/plugins/content-type-builder/content-types/${item.uid}`}
>
{formatMessage({
id: getTrad('SEOPage.info.add'),
Expand All @@ -197,7 +197,7 @@ const Main = ({ contentTypes }) => {
})}
action={
<LinkButton
to="/plugins/content-type-builder"
to="/admin/plugins/content-type-builder"
variant="secondary"
startIcon={<Plus />}
>
Expand Down Expand Up @@ -249,7 +249,7 @@ const Main = ({ contentTypes }) => {
<LinkButton
startIcon={<Plus />}
variant="secondary"
href={`/plugins/content-type-builder/content-types/${item.uid}`}
href={`/admin/plugins/content-type-builder/content-types/${item.uid}`}
>
{formatMessage({
id: getTrad('SEOPage.info.add'),
Expand Down

0 comments on commit 96b5078

Please sign in to comment.