fix: legacy library links were not working (#1548)
This commit is contained in:
@@ -64,7 +64,7 @@ const CardItem: React.FC<Props> = ({
|
||||
const waffleFlags = useSelector(getWaffleFlags);
|
||||
|
||||
const destinationUrl: string = path ?? (
|
||||
waffleFlags.useNewCourseOutlinePage
|
||||
waffleFlags.useNewCourseOutlinePage && !isLibraries
|
||||
? url
|
||||
: new URL(url, getConfig().STUDIO_BASE_URL).toString()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user