Skip to content

Commit

Permalink
fix: incorrect redirect link to Pages&Resources from Custom Pages (#915)
Browse files Browse the repository at this point in the history
Co-authored-by: Dima Alipov <[email protected]>
  • Loading branch information
DmytroAlipov and Dima Alipov authored Apr 8, 2024
1 parent 9192287 commit 4592c0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/custom-pages/CustomPages.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import messages from './messages';
import CustomPagesProvider from './CustomPagesProvider';
import EditModal from './EditModal';
import getPageHeadTitle from '../generic/utils';
import { getPagePath } from '../utils';

const CustomPages = ({
courseId,
Expand Down Expand Up @@ -121,7 +122,7 @@ const CustomPages = ({
ariaLabel="Custom Page breadcrumbs"
links={[
{ label: 'Content', href: `${config.STUDIO_BASE_URL}/course/${courseId}` },
{ label: 'Pages and Resources', href: `/course/${courseId}/pages-and-resources` },
{ label: 'Pages and Resources', href: getPagePath(courseId, 'true', 'tabs') },
]}
/>
</div>
Expand Down

0 comments on commit 4592c0d

Please sign in to comment.