Handle tags without methods

This commit is contained in:
Roman Gotsiy 2015-10-28 23:49:31 +02:00
parent b56c170d3a
commit 37030ecbc1

View File

@ -25,6 +25,7 @@ export default class MethodsList extends BaseComponent {
.map((entry) => {
let [tag, {description, methods}] = entry;
// inject tag name into method info
methods = methods || [];
methods.forEach(method => {
method.tag = tag;
});