mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
!wip fixed lint errors
This commit is contained in:
parent
7a54ec673f
commit
cd2011c6cc
1 changed files with 4 additions and 4 deletions
|
@ -57,15 +57,15 @@ export class NewsletterComponent implements OnInit {
|
|||
if(match && match.length > 0) {
|
||||
this.settings.externalEmails.push(this.emailToAdd);
|
||||
this.emailToAdd = "";
|
||||
} else{
|
||||
this.notificationService.error("Please enter a valid email address")
|
||||
} else {
|
||||
this.notificationService.error("Please enter a valid email address");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public deleteEmail(email: string) {
|
||||
var index = this.settings.externalEmails.indexOf(email); // <-- Not supported in <IE9
|
||||
if (index !== -1) {
|
||||
const index = this.settings.externalEmails.indexOf(email); // <-- Not supported in <IE9
|
||||
if (index !== -1) {
|
||||
this.settings.externalEmails.splice(index, 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue