mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 12:21:13 +00:00
Adding local rss feed.
This commit is contained in:
parent
7ebcb0563b
commit
ceaa1c7332
1 changed files with 12 additions and 0 deletions
|
@ -561,6 +561,18 @@ export class Main extends Component<any, MainState> {
|
|||
</svg>
|
||||
</a>
|
||||
)}
|
||||
{this.state.listingType == ListingType.Local && (
|
||||
<a
|
||||
href={`/feeds/local.xml?sort=${this.state.sort}`}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
title="RSS"
|
||||
>
|
||||
<svg class="icon text-muted small">
|
||||
<use xlinkHref="#icon-rss">#</use>
|
||||
</svg>
|
||||
</a>
|
||||
)}
|
||||
{UserService.Instance.user &&
|
||||
this.state.listingType == ListingType.Subscribed && (
|
||||
<a
|
||||
|
|
Loading…
Reference in a new issue