show completed tests on calendar

This commit is contained in:
2026-07-15 14:56:40 -04:00
parent 0646daf235
commit 195d2b01ff
4 changed files with 15 additions and 12 deletions
+2 -1
View File
@@ -47,7 +47,8 @@ function formatConfig(config) {
}
export default function TestCard({ test }) {
const style = STATUS_STYLES[test.status] ?? STATUS_STYLES.pending
const normalizedStatus = String(test?.status ?? 'pending').trim().toLowerCase()
const style = STATUS_STYLES[normalizedStatus] ?? STATUS_STYLES.pending
const deviceAccentClass = getDeviceAccentClass(test.device)
const cardRef = useRef(null)
const [tooltipPos, setTooltipPos] = useState({ top: '0px', left: '0px' })