🚸 Hide previous success/error message before host connection test

dev
KaKi87 2 years ago
parent c6843db06f
commit 1c18a83652

@ -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