ENCOA-182, ENCOA-185, ENCOA-177, ENCOA-168, ENCOA-186, ENCOA-176, ENCOA-189, ENCOA-167
This commit is contained in:
@@ -15,6 +15,7 @@ import React from "react";
|
||||
interface Props {
|
||||
minTimer: number;
|
||||
module: Module;
|
||||
examLabel?: string;
|
||||
label?: string;
|
||||
exerciseIndex: number;
|
||||
totalExercises: number;
|
||||
@@ -30,6 +31,7 @@ export default function ModuleTitle({
|
||||
minTimer,
|
||||
module,
|
||||
label,
|
||||
examLabel,
|
||||
exerciseIndex,
|
||||
totalExercises,
|
||||
disableTimer = false,
|
||||
@@ -156,7 +158,7 @@ export default function ModuleTitle({
|
||||
<div className="w-full flex justify-between">
|
||||
<span className="text-base font-semibold">
|
||||
{module === "level"
|
||||
? "Placement Test"
|
||||
? (examLabel ? examLabel : "Placement Test")
|
||||
: `${moduleLabels[module]} exam${label ? ` - ${label}` : ''}`
|
||||
}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user