{ // console.log('submit'); await updateUserPermissions(localStorage.token, permissions); await updateModelFilterConfig(localStorage.token, whitelistEnabled, whitelistModels); saveHandler(); }} >
{$i18n.t('User Permissions')}
{$i18n.t('Allow Chat Deletion')}

Manage Models
Model Whitelisting
{#if whitelistEnabled}
{#each whitelistModels as modelId, modelIdx}
{#if modelIdx === 0} {:else} {/if}
{/each}
{whitelistModels.length} Model(s) Whitelisted
{/if}