Compare commits

..

No commits in common. "79c5068e96f9460ed5a6feb12a4ca6c8286b52a8" and "18da92ccc7a1b98d16959a96cb299919df2a3c6d" have entirely different histories.

View file

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