forked from open-webui/open-webui
fix: add doc modal issue
This commit is contained in:
parent
53adc6a0ca
commit
0476c5f30b
1 changed files with 3 additions and 1 deletions
|
@ -138,7 +138,9 @@
|
|||
<button
|
||||
class="w-full text-sm font-medium py-3 bg-gray-850 hover:bg-gray-800 text-center rounded-xl"
|
||||
type="button"
|
||||
on:click={uploadDocInputElement.click}
|
||||
on:click={() => {
|
||||
uploadDocInputElement.click();
|
||||
}}
|
||||
>
|
||||
{#if inputFiles}
|
||||
{inputFiles.length > 0 ? `${inputFiles.length}` : ''} document(s) selected.
|
||||
|
|
Loading…
Reference in a new issue