From 54b96dece82e3db3e5157feab1f39ea7fa52cc83 Mon Sep 17 00:00:00 2001 From: UKDTOM Date: Sat, 13 Jun 2020 11:54:47 +0200 Subject: [PATCH] #14 --- src/components/modules/ExportTools/definitions.json | 5 ++--- src/main.js | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) 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')