Fixed linting error

This commit is contained in:
Simon Backx 2022-05-03 14:25:50 +02:00
parent da3b3850f5
commit 5c6316f051

View File

@ -128,7 +128,7 @@ function getAction(event) {
function getObject(event) {
if (event.type === 'newsletter_event') {
if (event.data.newsletter && event.data.newsletter.name) {
return 'emails from '+event.data.newsletter.name;
return 'emails from ' + event.data.newsletter.name;
}
return 'emails';
}