diff --git a/src/components/modules/ExportTools/definitions.json b/src/components/modules/ExportTools/definitions.json index d40f624..b297a7f 100644 --- a/src/components/modules/ExportTools/definitions.json +++ b/src/components/modules/ExportTools/definitions.json @@ -3,8 +3,7 @@ "levels": { "Level 1": "level1", "Level 2": "level2" - } - , + }, "level": { "level1": [ "Media ID", "Title", "Sort title", @@ -136,7 +135,7 @@ "call": "1", "type": "string" } - } + } } } diff --git a/src/main.js b/src/main.js index eaadd51..06282db 100644 --- a/src/main.js +++ b/src/main.js @@ -85,6 +85,7 @@ log.debug('LevelName: ' + levelName) const header = def[libType]['level'][levelName] log.debug('Header: ' + header) excel.AddHeader(Sheet, header) + excel.SaveWorkbook(WorkBook, libName, level, 'xlsx')