@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.mjs CHANGED
@@ -18896,7 +18896,7 @@ const SettingApp = (props) => {
18896
18896
  monthly_target_defects: null,
18897
18897
  allowed_defects_per_model_day: null
18898
18898
  }).current;
18899
- //Cấu hình số lỗi mục tiêu cho phép cho 1 model trong 1 ngày
18899
+ //Cấu hình thông số delay tránh gửi liên tục
18900
18900
  const change_save = (obj, e) => {
18901
18901
  const _m = saveSettings;
18902
18902
  if (saveSettings && _m[obj.id] !== null) {
@@ -18909,7 +18909,8 @@ const SettingApp = (props) => {
18909
18909
  }));
18910
18910
  const _data = {
18911
18911
  id: crypto.randomUUID(),
18912
- key: obj,
18912
+ obj: obj,
18913
+ key: obj.id,
18913
18914
  value: value,
18914
18915
  };
18915
18916
  _m[obj.id] = setTimeout(() => {