Skip to content

Commit

Permalink
fix: fixed module button href
Browse files Browse the repository at this point in the history
  • Loading branch information
PKulkoRaccoonGang committed Nov 20, 2024
1 parent bc68a8c commit f3fdc31
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const CollapseMenuBody = ({ isOpen }) => {

return (
<div className="d-flex flex-column shadow-sm nav-small-menu">
<Button as="a" href="/" variant="inverse-primary">
<Button as="a" href={`${getConfig().LMS_BASE_URL}/dashboard/`} variant="inverse-primary">
{formatMessage(messages.course)}
</Button>
<Button as="a" href={urls.programsUrl()} variant="inverse-primary">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`CollapseMenuBody render 1`] = `
>
<Button
as="a"
href="/"
href="http://localhost:18000/dashboard/"
variant="inverse-primary"
>
Courses
Expand Down Expand Up @@ -74,7 +74,7 @@ exports[`CollapseMenuBody render unauthenticated 1`] = `
>
<Button
as="a"
href="/"
href="http://localhost:18000/dashboard/"
variant="inverse-primary"
>
Courses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports[`ExpandedHeader render 1`] = `
<Button
as="a"
className="p-4 course-link"
href="/"
href="http://localhost:18000/dashboard/"
variant="inverse-primary"
>
Courses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const ExpandedHeader = () => {

<Button
as="a"
href="/"
href={`${getConfig().LMS_BASE_URL}/dashboard/`}
variant="inverse-primary"
className="p-4 course-link"
>
Expand Down

0 comments on commit f3fdc31

Please sign in to comment.