Skip to content

Commit eb3db58

Browse files
committed
set property when excluded, do not omit outright
1 parent b1d129d commit eb3db58

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/lib/ui_builder.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,11 @@ var ui_builder = function () {
108108
return exclude === pattern.patternGroup; });
109109
if (isOmitted) {
110110
if (patternlab.config.debug) {
111-
console.log('Omitting ' + pattern.patternPartial + ' from styleguide patterns its patternGroup is specified in styleguideExcludes.');
111+
console.log('Omitting ' + pattern.patternPartial + ' from future viewall pages because its patternGroup is specified in styleguideExcludes.');
112112
}
113-
return true;
113+
//these patterns should not be omitted from later processing, just viewall pages
114+
pattern.omitFromViewAll = true;
115+
isOmitted = false;
114116
}
115117

116118
//this pattern is contained with a directory prefixed with an underscore (a handy way to hide whole directories from the nav

0 commit comments

Comments
 (0)