Fix message checking

This commit is contained in:
Ildar Kamalov 2018-09-21 18:57:27 +03:00
parent c2a2b3ea6a
commit 1c1b952d48

View file

@ -438,7 +438,7 @@ export const testUpstream = servers => async (dispatch) => {
return message; return message;
}); });
if (testMessages.every(message => message === testMessages[0])) { if (testMessages.every(message => message === 'OK')) {
dispatch(addSuccessToast('All servers is OK')); dispatch(addSuccessToast('All servers is OK'));
} }