mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-05 19:24:39 +00:00
assessmentsAverage: Fix display of missing weighting, and minor change to override section.
This commit is contained in:
@@ -88,7 +88,7 @@ function createWeightLabel(
|
||||
if (!statsContainer) return;
|
||||
|
||||
const displayText =
|
||||
weighting && weighting !== "processing"
|
||||
weighting && weighting !== "processing" && weighting !== "N/A"
|
||||
? `${Number(weighting) % 1 === 0 ? Number(weighting) : weighting}%`
|
||||
: "N/A";
|
||||
|
||||
@@ -698,7 +698,7 @@ function buildWeightingsTabContent(api: any, sheet: HTMLElement) {
|
||||
<div style="padding:16px;max-width:360px">
|
||||
<h2 style="margin:0 0 4px;font-size:15px;font-weight:600">Weighting Override</h2>
|
||||
<p style="margin:0 0 16px;font-size:12px;opacity:0.6">
|
||||
Set the weighting for this assessment manually.
|
||||
Set the weighting for this assessment.
|
||||
${statusNote}
|
||||
</p>
|
||||
<div style="display:flex;align-items:center;gap:12px;margin-bottom:12px">
|
||||
|
||||
Reference in New Issue
Block a user