4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-14 11:15:50 +00:00

fix for 2 digits on port

This commit is contained in:
AlphaX-Projects 2022-12-03 18:24:27 +01:00
parent 14770a6c01
commit 45ffc3385d

View File

@ -251,7 +251,7 @@ class SettingsPage extends connect(store)(LitElement) {
const domainInput = this.shadowRoot.getElementById('domainInput').value
const portInput = this.shadowRoot.getElementById('portInput').value
if (protocolList.length >= 4 && domainInput.length >= 3 && portInput.length >= 4) {
if (protocolList.length >= 4 && domainInput.length >= 3 && portInput.length >= 2) {
const nodeObject = {
name: nameInput,
protocol: protocolList,