Skip to content

Commit

Permalink
FIX: server management form validation (#1816)
Browse files Browse the repository at this point in the history
* REMOVE: useless

* FIX: login form validation

* ADD: empty from validation
  • Loading branch information
MaxTheGeeek authored Apr 12, 2024
1 parent 2eef7f0 commit 7ec69d8
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,12 @@ const buttonDisabled = computed(() => {
ipError.value.length > 0 ||
usernameError.value.length > 0 ||
(useSSHKey.value && sshError.value.length > 0) ||
(!useSSHKey.value && passwordError.value.length > 0)
(!useSSHKey.value && passwordError.value.length > 0) ||
serverStore.loginState.hostName === "" ||
serverStore.loginState.ip === "" ||
serverStore.loginState.username === ""
);
});
Expand Down

0 comments on commit 7ec69d8

Please sign in to comment.