mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-02 06:22:43 +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){
|
module.exports = function(props){
|
||||||
|
|||||||
Reference in New Issue
Block a user