Skip to content
Snippets Groups Projects
Commit 3afe21a4 authored by Sebastian Bittrich's avatar Sebastian Bittrich
Browse files

fix to whitelist categories when information on fields is present

parent c9cd1075
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,11 @@ export namespace Category {
const list = d.behavior === 'whitelist' ? (field ? field_whitelist : cat_whitelist) : (field ? field_blacklist : cat_blacklist);
list[list.length] = name;
// ensure categories are aware about whitelisted columns
if (field && !cat_whitelist.includes(d.categoryName)) {
cat_whitelist[cat_whitelist.length] = d.categoryName;
}
}
const wlcatcol = field_whitelist.map(it => it.split('.')[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment