Create provider-side applicant forms #77

Merged
BobdaFett merged 23 commits from feat/applicants-page into main 2026-04-13 06:35:26 +00:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 2b255ce968 - Show all commits

No files matched your search

+2 -1
View File
@@ -346,8 +346,9 @@ pub async fn get_student_files(
debug_log!("Writing {} files to zip file...", results.len());
for (key, file_bytes) in results {
let file_name = key.split('/').last().unwrap_or_default();
writer
.start_file(key.clone(), SimpleFileOptions::default())
.start_file(file_name, SimpleFileOptions::default())
.map_err(ServerFnError::new)?;
writer.write_all(&file_bytes).map_err(ServerFnError::new)?;
}
+1 -1
View File
@@ -678,7 +678,7 @@ fn StudentInformationDialog(
.dyn_into()
.unwrap();
a.set_download("testing.zip");
a.set_download("");
a.set_href(&data_url);
document().body().unwrap().append_child(&a).unwrap();
a.click();