Skip to content

Commit ff7551c

Browse files
committed
fix zero issue
1 parent a83393d commit ff7551c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/tabs/auxiliary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function getCategoryNames(table, buildKey) {
110110
function createCategorySelect(table, map) {
111111
let categorySelect = $('select.auxiliary_category_select');
112112

113-
const categoryNameObj = getConfig('auxiliaryCategoryNameList'); // read user pre selected categories
113+
const categoryNameObj = getConfig('auxiliaryCategoryNameList', ''); // read user pre selected categories
114114
let categoryNameList = categoryNameObj.auxiliaryCategoryNameList;
115115
if (categoryNameList.length == 0) {
116116
categoryNameList = getCategoryNames(table, 'all'); // empty choise -> select names from 'all' category

0 commit comments

Comments
 (0)