mirror of
https://github.com/open-webui/open-webui
synced 2025-02-01 15:24:25 +00:00
refac: disable duplicate attachments
This commit is contained in:
parent
c6660f1d7c
commit
b641756020
@ -78,6 +78,10 @@
|
||||
}}
|
||||
on:select={(e) => {
|
||||
console.log(e);
|
||||
if (files.find((f) => f.id === e.detail.id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
files = [
|
||||
...files,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user