mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-25 13:51:17 +00:00
Dont list instances with closed signups
This commit is contained in:
parent
686c773534
commit
53d24a6d24
1 changed files with 48 additions and 43 deletions
|
@ -86,7 +86,12 @@ export class Instances extends Component<any, any> {
|
||||||
<div>
|
<div>
|
||||||
<h2>{header}</h2>
|
<h2>{header}</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{instances.map(instance => {
|
{instances
|
||||||
|
.filter(
|
||||||
|
i =>
|
||||||
|
i.site_info.site_view.local_site.registration_mode != "closed"
|
||||||
|
)
|
||||||
|
.map(instance => {
|
||||||
let domain = instance.domain;
|
let domain = instance.domain;
|
||||||
let users_active_month =
|
let users_active_month =
|
||||||
instance.site_info.site_view.counts.users_active_month;
|
instance.site_info.site_view.counts.users_active_month;
|
||||||
|
|
Loading…
Reference in a new issue