Merge pull request 'fix(analytics): drop false market verdict from per-object Sold % KpiCard (#1407)' (#1672) from fix/sold-pct-market-verdict-1407 into main
Some checks are pending
Deploy / changes (push) Waiting to run
Deploy / build-backend (push) Blocked by required conditions
Deploy / build-worker (push) Blocked by required conditions
Deploy / build-frontend (push) Blocked by required conditions
Deploy / deploy (push) Blocked by required conditions

This commit is contained in:
lekss361 2026-06-17 17:44:47 +00:00
commit 79c5068e96

View file

@ -148,17 +148,9 @@ export default function ObjectDrillInPage() {
label="Sold % (квартиры)"
value={apartments?.perc != null ? `${apartments.perc}` : "—"}
unit="%"
delta={
apartments?.perc != null
? {
value:
apartments.perc >= 50
? "выше среднего рынка"
: apartments.perc >= 30
? "около среднего"
: "ниже среднего",
positive: apartments.perc >= 30,
}
hint={
apartments?.realised != null && apartments?.total != null
? `${apartments.realised} из ${apartments.total} реализовано`
: undefined
}
/>