eur czk can be disabled from now on
This commit is contained in:
@@ -82,6 +82,8 @@ async fn update(
|
||||
active.rate_e4 = Set(currency::parse_rate(&form.rate)?);
|
||||
active.enabled = Set(is_checked(&form.enabled));
|
||||
active.update(&ctx.db).await?;
|
||||
// Keep the navbar/settings chrome snapshot in sync with the new rate/state.
|
||||
currency::refresh_snapshot(&ctx.db).await?;
|
||||
format::redirect("/admin/currencies")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user