mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
refactor: Remove spreadsheet export format handling in Google Drive picker
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user