Skip to content

Commit

Permalink
fix: set studio + sro to zero bedrooms (bloom-housing#4611)
Browse files Browse the repository at this point in the history
* fix: set studio + sro to zero bedrooms

* fix: default approach
  • Loading branch information
ColinBuyck committed Jan 27, 2025
1 parent 095944a commit 852234c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/partners/src/lib/listings/UnitsFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class UnitsFormatter extends Formatter {
unit.numBedrooms = 1
break
default:
unit.numBedrooms = null
unit.numBedrooms = 0
}

Object.keys(unit).forEach((key) => {
Expand Down

0 comments on commit 852234c

Please sign in to comment.