enh: image permissions
This commit is contained in:
1 parent
90d4bedae8
commit
92022dd81f
4 files changed
+5
-5
No files matched your search
@@ -30,7 +30,7 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{#if $user.role === 'admin' || $user.permissions.chat?.controls}
|
||||
{#if $user.role === 'admin' || $user?.permissions.chat?.controls}
|
||||
<div class=" dark:text-gray-200 text-sm font-primary py-0.5 px-0.5">
|
||||
{#if chatFiles.length > 0}
|
||||
<Collapsible title={$i18n.t('Files')} open={true} buttonClassName="w-full">
|
||||
|
||||
Reference in new issue
Block a user