mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 03:47:23 +01:00
Hook up ensemble editor
This commit is contained in:
parent
7d2356c8f2
commit
a4cc0ea832
1 changed files with 11 additions and 2 deletions
|
|
@ -11,7 +11,10 @@ use crate::{
|
|||
album_tile::MusicusAlbumTile,
|
||||
config,
|
||||
db::models::*,
|
||||
editor::{person_editor::MusicusPersonEditor, work_editor::MusicusWorkEditor},
|
||||
editor::{
|
||||
ensemble_editor::MusicusEnsembleEditor, person_editor::MusicusPersonEditor,
|
||||
work_editor::MusicusWorkEditor,
|
||||
},
|
||||
library::{LibraryQuery, MusicusLibrary},
|
||||
player::MusicusPlayer,
|
||||
program::Program,
|
||||
|
|
@ -173,7 +176,13 @@ impl MusicusHomePage {
|
|||
Some(person),
|
||||
));
|
||||
}
|
||||
Tag::Ensemble(_) => todo!(),
|
||||
Tag::Ensemble(ensemble) => {
|
||||
self.navigation().push(&MusicusEnsembleEditor::new(
|
||||
&self.navigation(),
|
||||
&self.library(),
|
||||
Some(ensemble),
|
||||
));
|
||||
}
|
||||
Tag::Work(work) => self.navigation().push(&MusicusWorkEditor::new(
|
||||
&self.navigation(),
|
||||
&self.library(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue