fix syntax error 🤦

This commit is contained in:
Jannis R 2018-01-23 02:40:39 +01:00
parent fe33866a15
commit 7cd963c344
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -16,7 +16,7 @@ const createParseLine = (profile, operators) => {
// This is terrible, but FPTF demands an ID. Let's pray for VBB to expose an ID. // This is terrible, but FPTF demands an ID. Let's pray for VBB to expose an ID.
// todo: find a better way // todo: find a better way
else if (p.line) res.id = slugg(p.line.trim()) if (p.line) res.id = slugg(p.line.trim())
else if (p.name) res.id = slugg(p.name.trim()) else if (p.name) res.id = slugg(p.name.trim())
if (p.cls) res.class = p.cls if (p.cls) res.class = p.cls