Add wip program tiles

This commit is contained in:
Elias Projahn 2024-04-01 18:43:00 +02:00
parent 3dc601e0f0
commit 6d11ee9705
7 changed files with 255 additions and 22 deletions

View file

@ -496,6 +496,16 @@ pub struct LibraryQuery {
pub search: String,
}
impl LibraryQuery {
pub fn is_empty(&self) -> bool {
self.composer.is_none()
&& self.performer.is_none()
&& self.ensemble.is_none()
&& self.work.is_none()
&& self.search.is_empty()
}
}
#[derive(Default, Debug)]
pub struct LibraryResults {
pub composers: Vec<Person>,