fix(tui): normalize autocomplete attachments
This commit is contained in:
@@ -261,7 +261,7 @@ export function Autocomplete(props: {
|
||||
filename,
|
||||
part: {
|
||||
type: "file" as const,
|
||||
mime: item.mime,
|
||||
mime: item.type === "directory" ? "application/x-directory" : "text/plain",
|
||||
filename,
|
||||
url: urlObj.href,
|
||||
source: {
|
||||
|
||||
Reference in New Issue
Block a user