mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-05-02 17:07:13 +00:00
fix type error for filetypes
This commit is contained in:
parent
4bb99ab4bf
commit
f269124760
1 changed files with 3 additions and 1 deletions
|
@ -82,7 +82,9 @@ export default function UploadFile({ workspace, fileTypes, fetchKeys }) {
|
|||
</div>
|
||||
<div className="text-white text-opacity-60 text-xs font-medium py-1">
|
||||
Supported file extensions are{" "}
|
||||
{Object.values(fileTypes).flat().join(" ")}
|
||||
{Object.values(fileTypes ?? [])
|
||||
.flat()
|
||||
.join(" ")}
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue