From d528fe58edb568a9d9bd3251e6ff5ee88f9ecd2b Mon Sep 17 00:00:00 2001 From: Andrea Date: Thu, 29 Jul 2021 21:37:04 +0200 Subject: [PATCH] fix import of Google Takeout CSV (#323) the file that Google has generated for me had the field `Channel ID` (capital "D") in the header. --- src/components/ImportPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ImportPage.vue b/src/components/ImportPage.vue index 0b7df700..fefabf39 100644 --- a/src/components/ImportPage.vue +++ b/src/components/ImportPage.vue @@ -114,7 +114,7 @@ export default { } // Google Takeout CSV - if (text.indexOf("Channel Id,") != -1) { + if (text.indexOf("Channel Id,") != -1 || text.indexOf("Channel ID,") != -1) { const lines = text.split("\n"); for (let i = 1; i < lines.length; i++) { const line = lines[i];