fix: Update the home while updating profile

This commit is contained in:
MystiPanda 2024-04-04 15:07:55 +08:00
parent d4a0136504
commit c0f650d7dc

View File

@ -211,7 +211,7 @@ impl IProfiles {
if each.uid == some_uid { if each.uid == some_uid {
each.extra = item.extra; each.extra = item.extra;
each.updated = item.updated; each.updated = item.updated;
each.home = item.home;
// save the file data // save the file data
// move the field value after save // move the field value after save
if let Some(file_data) = item.file_data.take() { if let Some(file_data) = item.file_data.take() {