Dont list instances with closed signups

This commit is contained in:
Felix Ableitner 2023-06-09 11:42:38 +02:00
parent 686c773534
commit 53d24a6d24

View file

@ -86,7 +86,12 @@ export class Instances extends Component<any, any> {
<div>
<h2>{header}</h2>
<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 users_active_month =
instance.site_info.site_view.counts.users_active_month;