Explorar el Código

fix: cover profile extra

GyDi hace 3 años
padre
commit
8dc2c1a38f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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