Add missing return
This commit is contained in:
parent
e6fed9af5c
commit
80c62b6eb3
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue