mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-10 16:49:41 +00:00
change all ExcelImportMaps to lowercase (#716)
* fix: change all ExcelImportMaps to lowercase (#716)
This commit is contained in:
committed by
GitHub
parent
4234334fbb
commit
ee121bcfcb
@@ -53,6 +53,9 @@ export const parseExcel = (excelData: unknown[][], options?: Partial<ExcelImport
|
|||||||
const projectMetadata = {};
|
const projectMetadata = {};
|
||||||
const rundownMetadata = {};
|
const rundownMetadata = {};
|
||||||
const importMap: ExcelImportMap = { ...defaultExcelImportMap, ...options };
|
const importMap: ExcelImportMap = { ...defaultExcelImportMap, ...options };
|
||||||
|
for (const [key, value] of Object.entries(importMap)) {
|
||||||
|
importMap[key] = value.toLocaleLowerCase();
|
||||||
|
}
|
||||||
const projectData: Partial<ProjectData> = {
|
const projectData: Partial<ProjectData> = {
|
||||||
title: '',
|
title: '',
|
||||||
description: '',
|
description: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user