fix: incorrect redirect link to Pages&Resources from Custom Pages (#916)
Co-authored-by: Dima Alipov <dimaalipov@MacBook-Pro-Dima.local>
This commit is contained in:
@@ -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,
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user