app: Add support for modifying an avatar

This commit is contained in:
Valentin Tolmer
2022-08-08 17:36:50 +02:00
committed by nitnelave
parent 60c594438c
commit 686bdc0cb1
6 changed files with 206 additions and 28 deletions

View File

@@ -198,8 +198,7 @@ impl Component for UserDetails {
<>
<h3>{u.id.to_string()}</h3>
<UserDetailsForm
user=u.clone()
on_error=self.common.callback(Msg::OnError)/>
user=u.clone() />
<div class="row justify-content-center">
<NavButton
route=AppRoute::ChangePassword(u.id.clone())