mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 05:05:53 +00:00
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) {
|
if (this.integration.feeds.indexOf(this.feedUrl) !== -1) {
|
||||||
this.toaster.pop("error", "This feed has already been added");
|
this.toaster.pop("error", "This feed has already been added");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let feedCopy = JSON.parse(JSON.stringify(this.integration.feeds));
|
let feedCopy = JSON.parse(JSON.stringify(this.integration.feeds));
|
||||||
|
Loading…
Reference in New Issue
Block a user