Browse Source

fix: cover profile extra

GyDi 3 years ago
parent
commit
8dc2c1a38f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src-tauri/src/core/profiles.rs

+ 2 - 2
src-tauri/src/core/profiles.rs

@@ -321,8 +321,8 @@ impl Profiles {
 
       for mut each in items.iter_mut() {
         if each.uid == some_uid {
-          patch!(each, item, extra);
-          patch!(each, item, updated);
+          each.extra = item.extra;
+          each.updated = item.updated;
 
           // save the file data
           // move the field value after save