File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ function Courses() {
2020 const [ organizationId , setOrganizationId ] = useState ( null ) ;
2121 const [ queryParameters , setQueryParameters ] = useState ( "" ) ;
2222 const apiBaseUrl = localStorage . getItem ( 'apiBaseUrl' ) ;
23+ const platformBaseUrl = localStorage . getItem ( 'platformBaseUrl' ) ;
2324
2425 const renderCourses = ( ) => {
2526 if ( ! organizationId ) {
@@ -130,7 +131,7 @@ function Courses() {
130131 sx = { { '&:last-child td, &:last-child th' : { border : 0 } } }
131132 >
132133 < TableCell component = "th" scope = "row" >
133- < Link href = { `/courses/${ course . id } ` } > { course . title } </ Link >
134+ < Link href = { `${ platformBaseUrl } /courses/${ course . id } ` } > { course . title } </ Link >
134135 </ TableCell >
135136 < TableCell > { course . slug } </ TableCell >
136137 < TableCell >
You can’t perform that action at this time.
0 commit comments