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
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
This commit is contained in:
parent
14f3ef2019
commit
66afac8bb3
1 changed files with 3 additions and 11 deletions
|
|
@ -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
|
||||
}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue