Fixed EC Parity field reset during tab change (#1490)

This commit is contained in:
Alex
2022-01-29 15:28:57 -07:00
committed by GitHub
parent 31f63a387e
commit 41e0c1e39b

View File

@@ -238,8 +238,6 @@ const TenantSize = ({
useEffect(() => {
if (distribution.error === "") {
// Get EC Value
updateField("ecParity", "");
if (nodes.trim() !== "" && distribution.disks !== 0) {
api
.invoke("GET", `api/v1/get-parity/${nodes}/${distribution.disks}`)