- {/* Para smaller screen view may click on card instead */}
+ {/* Para smaller screen view can click on card instead */}
{!isPara ? (
-
View - {isPara ? "Para" : "Case Manager"}
-
+ {/* Temporary Toggle View of CM and Para */}
+
{isPara ? "Para" : "Case Manager"}
+
+
+ {/* Search Pill Placeholder */}
+
+ Search
+
- {/* May not be applicable to Para */}
- {!isPara ? (
-
- Show all benchmarks
-
- ) : null}
+ {/* Filter Pill Placeholder */}
Filter
+
+ {/* Sort Pill Placeholder*/}
{tasks?.map((task) => {
+ const completed = Math.floor(
+ Number(task.completed_trials) / Number(task.target_max_attempts)
+ );
return (
- {isPara ? (
+ {/* Temporary CM & Para View */}
+ {isPara && !completed ? (