!wip fixed lint errors

This commit is contained in:
Jamie 2018-04-07 00:45:26 +01:00
commit cd2011c6cc

View file

@ -58,13 +58,13 @@ export class NewsletterComponent implements OnInit {
this.settings.externalEmails.push(this.emailToAdd);
this.emailToAdd = "";
} else {
this.notificationService.error("Please enter a valid email address")
this.notificationService.error("Please enter a valid email address");
}
}
}
public deleteEmail(email: string) {
var index = this.settings.externalEmails.indexOf(email); // <-- Not supported in <IE9
const index = this.settings.externalEmails.indexOf(email); // <-- Not supported in <IE9
if (index !== -1) {
this.settings.externalEmails.splice(index, 1);
}