mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-31 06:32:37 +00:00
Drop empty entries
This commit is contained in:
@@ -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