Skip to content

Commit

Permalink
fix: incorrect redirect link to Pages&Resources from Custom Pages (#916)
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 ced2c0e commit 5634e9e
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 @@ -40,6 +40,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 @@ -118,7 +119,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 5634e9e

Please sign in to comment.