|
@@ -253,6 +253,7 @@ const gatherChapter = {
|
|
|
const cc = { code: c.code, name: c.name, cType: 1 };
|
|
|
cc.serialNo = serialNo++;
|
|
|
cc.filter = '^' + c.code.substr(0, c.code.length - 2) + '[0-9]{2}-';
|
|
|
+ //cc.visible = true;
|
|
|
gclChapter.push(cc);
|
|
|
|
|
|
if (options.activeFields) {
|
|
@@ -467,7 +468,7 @@ const gatherChapter = {
|
|
|
}
|
|
|
return false;
|
|
|
} else {
|
|
|
- return x.visible !== undefined || x.visible !== null ? x.visible : true;
|
|
|
+ return (x.visible !== undefined && x.visible !== null) ? x.visible : true;
|
|
|
}
|
|
|
});
|
|
|
},
|