refac
This commit is contained in:
@@ -200,6 +200,22 @@
|
||||
</div>
|
||||
{/if}
|
||||
</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>
|
||||
|
||||
<hr class=" border-gray-100/30 dark:border-gray-850/30" />
|
||||
|
||||
Reference in New Issue
Block a user