* client: remove empty elements from upstream and bootstrap

This commit is contained in:
Ildar Kamalov 2019-03-06 17:53:04 +03:00
parent bf2781d465
commit cdc568d8d9

View file

@ -202,4 +202,4 @@ export const redirectToCurrentProtocol = (values, httpPort = 80) => {
}
};
export const normalizeTextarea = text => text && text.replace(/[;, ]/g, '\n').split('\n');
export const normalizeTextarea = text => text && text.replace(/[;, ]/g, '\n').split('\n').filter(n => n);