@esvndev/es-react-config-setting 1.0.56 → 1.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -18923,7 +18923,7 @@ const SettingApp = (props) => {
18923
18923
  monthly_target_defects: null,
18924
18924
  allowed_defects_per_model_day: null
18925
18925
  }).current;
18926
- //Cấu hình số lỗi mục tiêu cho phép cho 1 model trong 1 ngày
18926
+ //Cấu hình thông số delay tránh gửi liên tục
18927
18927
  const change_save = (obj, e) => {
18928
18928
  const _m = saveSettings;
18929
18929
  if (saveSettings && _m[obj.id] !== null) {
@@ -18936,7 +18936,8 @@ const SettingApp = (props) => {
18936
18936
  }));
18937
18937
  const _data = {
18938
18938
  id: crypto.randomUUID(),
18939
- key: obj,
18939
+ obj: obj,
18940
+ key: obj.id,
18940
18941
  value: value,
18941
18942
  };
18942
18943
  _m[obj.id] = setTimeout(() => {