{ // console.log('submit'); await updateUserPermissions(localStorage.token, permissions); saveHandler(); }} >
{$i18n.t('User Permissions')}
{$i18n.t('Allow Chat Deletion')}
{ permissions.chat.deletion = !permissions.chat.deletion; }} type="button" > {#if permissions.chat.deletion}
{$i18n.t('Allow')}
{:else}
{$i18n.t("Don't Allow")}
{/if}
Save