fix crash in query performance (#37758)

* fix crash

* undo query perf

* fix crash
This commit is contained in:
Jordi Enric
2025-08-08 09:55:01 +02:00
committed by GitHub
parent d52e2c252b
commit a023a59ec5
4 changed files with 40 additions and 18 deletions

View File

@@ -69,7 +69,7 @@ export const QueryPanelScoreSection = ({
) : (
<ArrowDown size={14} className="text-brand" />
)}
{before !== 0 && (
{typeof before === 'number' && before !== 0 && !isNaN(before) && isFinite(before) && (
<span
className={cn(
'font-mono tracking-tighter',