Browse Source

🚸 Hide previous success/error message before host connection test

master
KaKi87 2 months ago
parent
commit
1c18a83652
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lib/tui/index.js

+ 2
- 0
lib/tui/index.js View File

@ -284,6 +284,8 @@ const getViews = screen => {
hostForm.on('submit', ({ name, address, port, username, password }) => {
port = parseInt(port);
if(action === 'test'){
successText.hide();
errorText.hide();
testButton.setContent('Testing');
screen.render();
}


Loading…
Cancel
Save