Add missing return

This commit is contained in:
turt2live 2017-05-28 22:58:14 -06:00
parent e6fed9af5c
commit 80c62b6eb3

View File

@ -35,6 +35,7 @@ export class RssConfigComponent implements ModalComponent<ConfigModalContext> {
}
if (this.integration.feeds.indexOf(this.feedUrl) !== -1) {
this.toaster.pop("error", "This feed has already been added");
return;
}
let feedCopy = JSON.parse(JSON.stringify(this.integration.feeds));