Skip to content

Commit

Permalink
fix zero issue
Browse files Browse the repository at this point in the history
  • Loading branch information
HThuren committed Jul 5, 2024
1 parent e8e59c4 commit 9295675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/tabs/auxiliary.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9295675

Please sign in to comment.