Album pages for users not signed in

This commit is contained in:
2024-11-20 02:12:09 +00:00
parent 22cee4a265
commit 3b6035dd71
3 changed files with 47 additions and 25 deletions

View File

@ -43,7 +43,7 @@ pub fn AlbumPage() -> impl IntoView {
view! { <SongList songs=(*s).clone().into()/> }.into_view()
},
Some(Err(e)) => {
view! { <div>"Error loading albums: :e"</div> }.into_view()
view! { <div>{format!("Error loading albums: : {}",e)}</div> }.into_view()
},
None => {view! { }.into_view()}
}