better connection dialog

This commit is contained in:
Jan Prochazka
2020-11-28 09:29:13 +01:00
parent 49628ad3cf
commit f60fd9cc63
3 changed files with 37 additions and 10 deletions

View File

@@ -76,7 +76,7 @@ const connectionAppObject = (flags) => (
if (openedConnections.includes(_id)) {
if (!status) statusIcon = 'icon loading';
else if (status.name == 'pending') statusIcon = 'icon loading';
else if (status.name == 'ok') statusIcon = 'img green-ok';
else if (status.name == 'ok') statusIcon = 'img ok';
else statusIcon = 'img error';
if (status && status.name == 'error') {
statusTitle = status.message;