forked from open-webui/open-webui
fix: button click issue
This commit is contained in:
parent
8ed5759d0e
commit
04ddbf4306
6 changed files with 18 additions and 6 deletions
|
@ -597,7 +597,9 @@
|
|||
<button
|
||||
type="button"
|
||||
class="w-full rounded-lg text-left py-2 px-4 dark:text-gray-300 dark:bg-gray-850"
|
||||
on:click={modelUploadInputElement.click}
|
||||
on:click={() => {
|
||||
modelUploadInputElement.click();
|
||||
}}
|
||||
>
|
||||
{#if modelInputFile && modelInputFile.length > 0}
|
||||
{modelInputFile[0].name}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue