diff --git a/src/content-tags-drawer/ContentTagsDrawer.tsx b/src/content-tags-drawer/ContentTagsDrawer.tsx index da025f59f..71ca070fe 100644 --- a/src/content-tags-drawer/ContentTagsDrawer.tsx +++ b/src/content-tags-drawer/ContentTagsDrawer.tsx @@ -1,3 +1,4 @@ +import { getConfig } from '@edx/frontend-platform'; import React, { useContext, useEffect } from 'react'; import { Container, @@ -60,7 +61,13 @@ const TaxonomyList = ({ contentId }: TaxonomyListProps) => { size="inline" variant="link" className="text-info-500 p-0 enable-taxonomies-button" - onClick={() => navigate('/taxonomies')} + onClick={() => { + if (window.top !== window) { + window.top.location.href = `${getConfig().COURSE_AUTHORING_MICROFRONTEND_URL}/taxonomies`; + } else { + navigate('/taxonomies'); + } + }} > { intl.formatMessage(messages.emptyDrawerContentLink) }