From e7942fc137ec90c8b718d421f3d7d07a8923e3ff Mon Sep 17 00:00:00 2001 From: Harrison Rose Date: Thu, 21 Nov 2024 04:20:59 +0000 Subject: [PATCH] on iOS, remove UI related to folder upload (not supported in iOS browsers) --- client/pages/upload/index.vue | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/client/pages/upload/index.vue b/client/pages/upload/index.vue index e4d2e535e1..7c1b476765 100644 --- a/client/pages/upload/index.vue +++ b/client/pages/upload/index.vue @@ -249,22 +249,8 @@ export default { }, inputChanged(e) { if (!e.target || !e.target.files) return - - // Convert FileList to an Array var _files = Array.from(e.target.files) - - // Log MIME type and other file details - _files.forEach((file) => { - console.log(`File Name: ${file.name}`) - console.log(`File Type: ${file.type || 'HARunknown'}`) // Log MIME type (fallback if empty) - console.log(`File Size: ${file.size} bytes`) - if (!file.type && file.name.endsWith('.m4b')) { - console.log('Detected .m4b file: Assigning MIME type "audio/mp4"') - } - }) - if (_files && _files.length) { - // Process the files as before var itemResults = this.uploadHelpers.getItemsFromPicker(_files, this.selectedLibraryMediaType) this.onItemsSelected(itemResults) }