{#if loaded}
{$i18n.t('Groups')}
{groups.length}
{#if query}
{/if}
item.value === sortBy)} items={sortItems} onSelectedChange={(selectedItem) => { sortBy = selectedItem.value; }} > {#each sortItems as item} {item.label} {#if sortBy === item.value}
{/if}
{/each}
{#if filteredGroups.length !== 0}
{#each filteredGroups as group} {/each}
{:else}
👥
{$i18n.t('No groups found')}
{$i18n.t('Use groups to organize your users and assign permissions.')}
{/if}
{/if}