refac: $user

This commit is contained in:
Timothy Jaeryang Baek committed 2025-03-31 20:32:12 -07:00
1 parent 1b7c125f00
commit e0ec2cdeb0
27 files changed
+57 -57

No files matched your search

@@ -67,7 +67,7 @@
</div>
</Collapsible>
{#if $user.role === 'admin' || $user?.permissions.chat?.controls}
{#if $user?.role === 'admin' || $user?.permissions.chat?.controls}
<hr class="my-2 border-gray-50 dark:border-gray-700/10" />
<Collapsible title={$i18n.t('System Prompt')} open={true} buttonClassName="w-full">