Compare commits

...

2 commits

Author SHA1 Message Date
79c5068e96 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
2026-06-17 17:44:47 +00:00
66afac8bb3 fix(analytics): drop false market verdict from per-object Sold % KpiCard (#1407)
All checks were successful
CI / changes (push) Successful in 8s
CI / openapi-codegen-check (push) Successful in 1m47s
CI / changes (pull_request) Successful in 6s
CI / backend-tests (push) Has been skipped
CI / frontend-tests (push) Successful in 50s
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Successful in 1m4s
CI / openapi-codegen-check (pull_request) Successful in 2m19s
2026-06-17 20:22:29 +03:00

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
}
/>