Fix add node/peer

This commit is contained in:
everoddandeven 2025-03-23 11:58:40 +01:00
parent 41455d95e2
commit 968be73ea1
2 changed files with 4 additions and 4 deletions

View file

@ -567,7 +567,7 @@
<hr class="my-4">
<h4 class="mb-3">Peers</h4>
<h4 class="mb-3">Limit Peers</h4>
<div class="col-md-6">
<label for="in-peers" class="form-label">In Peers</label>

View file

@ -270,7 +270,7 @@ export class SettingsComponent extends BasePageComponent implements AfterViewIni
return false;
}
if (this.exclusiveNodePort <= 0) {
if (this.exclusiveNodePort < 0) {
return false;
}
@ -290,7 +290,7 @@ export class SettingsComponent extends BasePageComponent implements AfterViewIni
return false;
}
if (this.peerPort <= 0) {
if (this.peerPort < 0) {
return false;
}
@ -335,7 +335,7 @@ export class SettingsComponent extends BasePageComponent implements AfterViewIni
return false;
}
if (this.priorityNodePort <= 0) {
if (this.priorityNodePort < 0) {
return false;
}