mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 18:56:54 +00:00
Drop empty entries
This commit is contained in:
1 parent
6ea724bb16
commit
b0dffc6df1
1 file changed
+1
-1
@@ -87,7 +87,7 @@ const ToCIterate = (entries, curDepth=0)=>{
|
||||
}
|
||||
});
|
||||
}
|
||||
return toc;
|
||||
return toc.length > 0 ? toc : null;
|
||||
};
|
||||
|
||||
module.exports = function(props){
|
||||
|
||||
Reference in new issue
Block a user