fix(week-review): аудит код-ревью — 181 фиксов (label week ревью 1) #1543

Merged
lekss361 merged 7 commits from fix/week-review-audit into main 2026-06-16 05:46:12 +00:00
Showing only changes of commit 7fd69e90cd - Show all commits

View file

@ -53,6 +53,10 @@ export function ParcelCompareLoader({ cad, onResult }: Props) {
score: a.score ?? null,
scoreLabel: a.score_label ?? null,
velocityScore: a.velocity?.velocity_score ?? null,
// SF#17 / issue #1422: explicit false (конкуренты есть, данных Objective
// нет → velocity_score=0 — sentinel) гасит ячейку и исключает колонку из
// подсветки «лучшее». undefined/null трактуется как «данные есть».
velocityDataAvailable: a.velocity?.velocity_data_available ?? null,
medianPricePerM2: a.district?.median_price_per_m2 ?? null,
pipeline24mo: a.pipeline_24mo?.flats_total ?? null,
confidenceLabel: a.confidence_label ?? null,