mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-10 03:27:57 +00:00
refac
This commit is contained in:
parent
ccc7174371
commit
bea1b468b4
1 changed files with 2 additions and 0 deletions
|
|
@ -186,6 +186,7 @@
|
|||
return null;
|
||||
});
|
||||
if (!linkedKnowledge) {
|
||||
toast.error($i18n.t('Failed to add file.'));
|
||||
uploadedFile = null;
|
||||
}
|
||||
}
|
||||
|
|
@ -874,6 +875,7 @@
|
|||
on:click={() => goto('/workspace/knowledge')}
|
||||
><ChevronLeft className="size-3" strokeWidth="2" />{$i18n.t('Back')}</button
|
||||
>
|
||||
<!-- Previous file count label: {$i18n.t('{{COUNT}} files')} -->
|
||||
{#if knowledge.write_access}<AccessButton
|
||||
on:click={() => (showAccessControlModal = true)}
|
||||
/>{:else}<span class="text-xs text-gray-500">{$i18n.t('Read Only')}</span>{/if}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue