diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-11-18 21:14:38 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-11-18 21:19:43 -0800 |
| commit | 281e400467da82c3ef8d9d31f176587b3f6990d3 (patch) | |
| tree | 1da235057a0c56aa79a92d06fb6469fc9627bbf5 /frontend/src/components/displays/NostalgiaScoreDisplay.tsx | |
| parent | 74978fcdd39899fa520e11268a62e2cc4cc99814 (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.tsx | 2 |
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], |
