Skip to content

Commit 63fe29e

Browse files
authored
Merge pull request #905 from ccnmtl/check2
Change course number; remove console log
2 parents 03c1f1a + 12e5331 commit 63fe29e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

media/js/src/app.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const App = () => {
4141
<Route path='course/:courseId/simulations/3/'
4242
element={<SimulationThree />} />
4343

44-
{(isSuperUser || isFaculty || coursePk === 4) && (
44+
{(isSuperUser || isFaculty || coursePk === 6) && (
4545
<Route path='course/:courseId/simulations/4/'
4646
element={<SimulationFour />} />
4747
)}

media/js/src/containers/dashboard.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export const Dashboard = ({ isSuperUser, isFaculty}) => {
1010

1111
let { courseId } = useParams();
1212
const coursePk = getCoursePk();
13-
console.log('coursePk', coursePk);
1413

1514
return (
1615
<>
@@ -97,7 +96,7 @@ export const Dashboard = ({ isSuperUser, isFaculty}) => {
9796
Begin &raquo;
9897
</Link>
9998
</div>
100-
{(isSuperUser || isFaculty || coursePk === 4) && (
99+
{(isSuperUser || isFaculty || coursePk === 6) && (
101100
<div className="col-lg-5 p-4 mx-0 mx-lg-3 my-3 mx-lg-0
102101
simulation-card">
103102
<h2 className="h2-primary">

0 commit comments

Comments
 (0)