Commit 9d84e5e8 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Use Object.keys instead of underscore allKeys method

parent b5e92c9f
......@@ -54,7 +54,7 @@
if (_.isEmpty(types)) {
label.push(this.defaultLabel);
} else {
_.allKeys(types).map((type) => {
Object.keys(types).map((type) => {
label.push(`${types[type].length} ${type}`);
});
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment