diff --git a/app/Modules/Plan7/Http/Livewire/Plan7SelectorLivewire.php b/app/Modules/Plan7/Http/Livewire/Plan7SelectorLivewire.php index a71cadc..2cd9324 100644 --- a/app/Modules/Plan7/Http/Livewire/Plan7SelectorLivewire.php +++ b/app/Modules/Plan7/Http/Livewire/Plan7SelectorLivewire.php @@ -89,7 +89,7 @@ public function render() if (array_key_exists('bs', $this->filter) && $this->filter['bs'] && $room['bs'] != $this->filter['bs']) { continue; } - if (array_key_exists('type', $this->filter) && $this->filter['type'] && $room['type'] != $this->filter['type']) { + if (array_key_exists('type', $this->filter) && $this->filter['type'] !== null && $room['type'] != $this->filter['type']) { continue; } if (array_key_exists('min_area', $this->filter) && $room['area'] < $this->filter['min_area']) {