aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/displays/NostalgiaScoreDisplay.tsx
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-11-18 21:14:38 -0800
committerPinapelz <yukais@pinapelz.com>2025-11-18 21:19:43 -0800
commit281e400467da82c3ef8d9d31f176587b3f6990d3 (patch)
tree1da235057a0c56aa79a92d06fb6469fc9627bbf5 /frontend/src/components/displays/NostalgiaScoreDisplay.tsx
parent74978fcdd39899fa520e11268a62e2cc4cc99814 (diff)
fix: correctly show N/A for date data in table score view
Diffstat (limited to 'frontend/src/components/displays/NostalgiaScoreDisplay.tsx')
-rw-r--r--frontend/src/components/displays/NostalgiaScoreDisplay.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/displays/NostalgiaScoreDisplay.tsx b/frontend/src/components/displays/NostalgiaScoreDisplay.tsx
index 723a3f0..39710a0 100644
--- a/frontend/src/components/displays/NostalgiaScoreDisplay.tsx
+++ b/frontend/src/components/displays/NostalgiaScoreDisplay.tsx
@@ -400,7 +400,7 @@ const NostalgiaScoreDisplay: React.FC<ScoreDisplayProps> = ({
</div>
) : key === "timestamp" ? (
<span className="text-slate-400 text-[10px] sm:text-xs whitespace-nowrap">
- {new Date(
+ {score[key] === 0 ? "N/A" : new Date(
typeof score[key] === "number"
? score[key]
: score[key],
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage