From 80c62b6eb3be2b376c866123aa8451f6fdbd189a Mon Sep 17 00:00:00 2001 From: turt2live Date: Sun, 28 May 2017 22:58:14 -0600 Subject: [PATCH] Add missing return --- web/app/configs/rss/rss-config.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/configs/rss/rss-config.component.ts b/web/app/configs/rss/rss-config.component.ts index 36d4db8..75571e4 100644 --- a/web/app/configs/rss/rss-config.component.ts +++ b/web/app/configs/rss/rss-config.component.ts @@ -35,6 +35,7 @@ export class RssConfigComponent implements ModalComponent { } 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));