@esvndev/es-react-config-setting 1.0.43 → 1.0.45
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11571,7 +11571,7 @@ const SettingApp = (props) => {
|
|
|
11571
11571
|
if (data.status) {
|
|
11572
11572
|
setDataSettingGroup(data.data);
|
|
11573
11573
|
setTimeout(() => {
|
|
11574
|
-
loadSettingConfigByGroup(data.data
|
|
11574
|
+
loadSettingConfigByGroup(data.data);
|
|
11575
11575
|
}, 500);
|
|
11576
11576
|
}
|
|
11577
11577
|
else {
|
|
@@ -11635,7 +11635,7 @@ const SettingApp = (props) => {
|
|
|
11635
11635
|
};
|
|
11636
11636
|
//hàm tạo các thông số cấu hình và cài đặt
|
|
11637
11637
|
const _renderView = () => {
|
|
11638
|
-
return (settingData && settingData.
|
|
11638
|
+
return (settingData && settingData.length > 0 ? settingData.map((item, index) => {
|
|
11639
11639
|
return (jsxRuntime.jsxs("div", { className: "setting-section", children: [jsxRuntime.jsx("div", { className: "setting-section-label", children: jsxRuntime.jsx("div", { className: "", children: jsxRuntime.jsx("span", { children: item.name }) }) }), item.description ?
|
|
11640
11640
|
jsxRuntime.jsx("div", { className: "setting-section-desc", children: jsxRuntime.jsx("div", { className: "", children: jsxRuntime.jsx("span", { children: item.description }) }) })
|
|
11641
11641
|
: null, item.data ?
|