fix hc port NaN issue

This commit is contained in:
miloschwartz
2025-12-04 22:03:37 -05:00
parent a7185ff913
commit 2dcc94cd14
3 changed files with 49 additions and 24 deletions

View File

@@ -691,6 +691,7 @@ export default function ReverseProxyTargets(props: {
target.port <= 0 ||
isNaN(target.port)
);
console.log(targetsWithInvalidFields);
if (targetsWithInvalidFields.length > 0) {
toast({
variant: "destructive",
@@ -1833,9 +1834,7 @@ export default function ReverseProxyTargets(props: {
30
}}
onChanges={async (config) => {
console.log("here");
if (selectedTargetForHealthCheck) {
console.log(config);
updateTargetHealthCheck(
selectedTargetForHealthCheck.targetId,
config