in static/js/components/volunteers-list.js [28:44]
_parseEntry(txt) {
const fields = txt.split('#');
const nullIfEmpty = input => {
if(!input) {
return null;
}
const result = input.trim();
return result.length == 0 ? null : result;
}
var i = 0;
return {
id: nullIfEmpty(fields[i++]),
roles: nullIfEmpty(fields[i++])
}
}