From 929567585a66ef13bc1f617368fdb04d9092989e Mon Sep 17 00:00:00 2001 From: HThuren Date: Wed, 21 Feb 2024 19:30:03 +0100 Subject: [PATCH] fix zero issue --- src/js/tabs/auxiliary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/tabs/auxiliary.js b/src/js/tabs/auxiliary.js index 01a5af6b02..9062dc235e 100644 --- a/src/js/tabs/auxiliary.js +++ b/src/js/tabs/auxiliary.js @@ -110,7 +110,7 @@ function getCategoryNames(table, buildKey) { function createCategorySelect(table, map) { let categorySelect = $('select.auxiliary_category_select'); - const categoryNameObj = getConfig('auxiliaryCategoryNameList'); // read user pre selected categories + const categoryNameObj = getConfig('auxiliaryCategoryNameList', ''); // read user pre selected categories let categoryNameList = categoryNameObj.auxiliaryCategoryNameList; if (categoryNameList.length == 0) { categoryNameList = getCategoryNames(table, 'all'); // empty choise -> select names from 'all' category