Skip to content

Commit

Permalink
fix: fix original managed IP delete
Browse files Browse the repository at this point in the history
fix #12
  • Loading branch information
dec0dOS committed Dec 16, 2021
1 parent 08fb189 commit 9386aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/utils/ChangeHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function parseValue(
value = event.target.checked;
} else if (mode === "arrayDel") {
value = data[key1][key2];
if (id) {
if (id !== null) {
value.splice(id, 1);
}
} else if (mode === "arrayAdd") {
Expand Down

0 comments on commit 9386aa7

Please sign in to comment.