create a delete-my-data button

This commit is contained in:
2025-08-20 21:04:55 +02:00
parent ea65f51704
commit f7647829bd
6 changed files with 97 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ pub(crate) enum MyMessage {
NameChanged,
FoundCam(String, i64),
Error(String, String, String),
DataDeleted,
}
impl Page {
@@ -97,6 +98,14 @@ impl Page {
}
}
}
MyMessage::DataDeleted => {
div.flex {
article class="succ msg" {
header { (t!("data_deletion_success_title")) }
(t!("data_deletion_success_body"))
}
}
}
}
}
section { (content) }