Store all tags under the all key
This commit is contained in:
parent
2b41b07860
commit
2d0e9b9f67
1 changed files with 5 additions and 0 deletions
|
|
@ -27,6 +27,11 @@ module.exports = {
|
||||||
},
|
},
|
||||||
{}
|
{}
|
||||||
);
|
);
|
||||||
|
// Create a single tag object from the transformed tag data
|
||||||
|
metaData.all = Object.keys(metaData.transformed).reduce(
|
||||||
|
(all, key) => _.assign(all, metaData.transformed[key]),
|
||||||
|
{}
|
||||||
|
);
|
||||||
return metaData;
|
return metaData;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue