We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cad5eb7 commit f84f412Copy full SHA for f84f412
1 file changed
frontend/courses/Courses.jsx
@@ -20,6 +20,7 @@ function Courses() {
20
const [organizationId, setOrganizationId] = useState(null);
21
const [queryParameters, setQueryParameters] = useState("");
22
const apiBaseUrl = localStorage.getItem('apiBaseUrl');
23
+ const platformBaseUrl = localStorage.getItem('platformBaseUrl');
24
25
const renderCourses = () => {
26
if (!organizationId) {
@@ -130,7 +131,7 @@ function Courses() {
130
131
sx={{ '&:last-child td, &:last-child th': { border: 0 } }}
132
>
133
<TableCell component="th" scope="row">
- <Link href={`/courses/${course.id}`}>{course.title}</Link>
134
+ <Link href={`${platformBaseUrl}/courses/${course.id}`}>{course.title}</Link>
135
</TableCell>
136
<TableCell>{course.slug}</TableCell>
137
<TableCell>
0 commit comments