Check room_types in Filter::is_empty

This commit is contained in:
Ginger 2025-03-12 15:51:11 -04:00 committed by GitHub
parent 24d018a001
commit 8c74682395
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()
}
}