mirror of
https://github.com/girlbossceo/ruwuma.git
synced 2025-04-29 06:49:48 -04:00
Check room_types in Filter::is_empty
This commit is contained in:
parent
24d018a001
commit
8c74682395
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ impl Filter {
|
|||
|
||||
/// Returns `true` if the filter is empty.
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.generic_search_term.is_none()
|
||||
self.generic_search_term.is_none() && self.room_types.is_empty()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue