Skip to main content

Group Search Blocked Label

Introduction​

This section explains the technical implementation of the "Blocked" label shown in the Group search screen.

How to Set the Blocked Flag​

To set a Blocked Label for a group in Firebase, add the following field to the account: blocked: true, in Firebase. This marks the group as Blocked, which will trigger the "Blocked" label to appear in the Group search.

Blocked Label in UI​

The "Blocked" label in the Group search screen is displayed based on the value of the blocked property. When a group is searched in the admin panel, the website retrieves this property from Firebase and displays the "Blocked" label based on its value.

Example Firebase Structure​

Below is an example of a Firebase structure where Blocked label is set to true for a group:

Status: Accepted
Category: Protected
Authored By: Meet Shah on June 11, 2025
Revisions