mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2025-04-07 14:47:27 +00:00
Fix add node/peer
This commit is contained in:
parent
41455d95e2
commit
968be73ea1
2 changed files with 4 additions and 4 deletions
src/app/pages/settings
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue