refac
This commit is contained in:
1 parent
77da3d8c81
commit
84e4d6ef82
1 file changed
+16
@@ -200,6 +200,22 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="flex flex-col w-full">
|
||||||
|
<div class="flex w-full justify-between my-1">
|
||||||
|
<div class=" self-center text-xs font-medium">
|
||||||
|
{$i18n.t('Allow Sharing With Groups')}
|
||||||
|
</div>
|
||||||
|
<Switch bind:state={permissions.access_grants.allow_groups} />
|
||||||
|
</div>
|
||||||
|
{#if defaultPermissions?.access_grants?.allow_groups && !permissions.access_grants.allow_groups}
|
||||||
|
<div>
|
||||||
|
<div class="text-xs text-gray-500">
|
||||||
|
{$i18n.t('This is a default user permission and will remain enabled.')}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class=" border-gray-100/30 dark:border-gray-850/30" />
|
<hr class=" border-gray-100/30 dark:border-gray-850/30" />
|
||||||
|
|||||||
Reference in new issue
Block a user