mirror of
https://github.com/open-webui/open-webui
synced 2025-01-01 08:42:14 +00:00
refactor: Remove spreadsheet export format handling in Google Drive picker
This commit is contained in:
parent
8bf09ae29c
commit
81bb816881
@ -130,8 +130,6 @@ export const createPicker = () => {
|
|||||||
// Handle Google Workspace files
|
// Handle Google Workspace files
|
||||||
if (mimeType.includes('document')) {
|
if (mimeType.includes('document')) {
|
||||||
exportFormat = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
|
exportFormat = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
|
||||||
} else if (mimeType.includes('spreadsheet')) {
|
|
||||||
exportFormat = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
|
|
||||||
} else if (mimeType.includes('presentation')) {
|
} else if (mimeType.includes('presentation')) {
|
||||||
exportFormat = 'application/vnd.openxmlformats-officedocument.presentationml.presentation';
|
exportFormat = 'application/vnd.openxmlformats-officedocument.presentationml.presentation';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user