diff --git a/client/src/app/shared/user-subscription/subscribe-button.component.html b/client/src/app/shared/user-subscription/subscribe-button.component.html
index c4dec239f..25f3be215 100644
--- a/client/src/app/shared/user-subscription/subscribe-button.component.html
+++ b/client/src/app/shared/user-subscription/subscribe-button.component.html
@@ -46,7 +46,7 @@
-
+ Subscribe via RSS
diff --git a/client/src/app/shared/user-subscription/subscribe-button.component.ts b/client/src/app/shared/user-subscription/subscribe-button.component.ts
index 25515f6ea..b04e230f0 100644
--- a/client/src/app/shared/user-subscription/subscribe-button.component.ts
+++ b/client/src/app/shared/user-subscription/subscribe-button.component.ts
@@ -36,6 +36,14 @@ export class SubscribeButtonComponent implements OnInit {
return this.videoChannel.url
}
+ get rssUri () {
+ const rssFeed = this.videoService
+ .getVideoChannelFeedUrls(this.videoChannel.id)
+ .find(i => i.format === FeedFormat.RSS)
+
+ return rssFeed.url
+ }
+
ngOnInit () {
if (this.isUserLoggedIn()) {
this.userSubscriptionService.doesSubscriptionExist(this.channelHandle)
@@ -100,12 +108,4 @@ export class SubscribeButtonComponent implements OnInit {
gotoLogin () {
this.router.navigate([ '/login' ])
}
-
- rssOpen () {
- const rssFeed = this.videoService
- .getVideoChannelFeedUrls(this.videoChannel.id)
- .find(i => i.format === FeedFormat.RSS)
-
- window.open(rssFeed.url)
- }
}