seeder-st2110-components 1.1.8 → 1.2.0
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.esm.js +6 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2491,7 +2491,7 @@ const NetworkSettingsModal = _ref2 => {
|
|
|
2491
2491
|
}
|
|
2492
2492
|
}
|
|
2493
2493
|
onClose();
|
|
2494
|
-
}, [message, modal, getSysConfig, restart, onClose]);
|
|
2494
|
+
}, [message, modal, getSysConfig, restart, getConfig, sections, onClose]);
|
|
2495
2495
|
const handleSubmit = react.useCallback(async () => {
|
|
2496
2496
|
setSubmitLoading(true);
|
|
2497
2497
|
try {
|
|
@@ -2519,7 +2519,11 @@ const NetworkSettingsModal = _ref2 => {
|
|
|
2519
2519
|
...(st2110Interfaces?.[index]?.id !== undefined && {
|
|
2520
2520
|
id: st2110Interfaces?.[index]?.id
|
|
2521
2521
|
}),
|
|
2522
|
-
|
|
2522
|
+
...(st2110Interfaces?.[index]?.ip !== undefined ? {
|
|
2523
|
+
ip: item.ip_address
|
|
2524
|
+
} : {
|
|
2525
|
+
ip_address: item.ip_address
|
|
2526
|
+
}),
|
|
2523
2527
|
...(showNetmask.QSFP ? {
|
|
2524
2528
|
netmask: item.netmask
|
|
2525
2529
|
} : {})
|