Skip to content
Snippets Groups Projects
Commit d1c9f1b7 authored by Kyle Doherty's avatar Kyle Doherty
Browse files

Merge pull request #452 from metabase/icon_fix

iterate over the icon, not the object when > 1 path
parents d784c224 a42190d8
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ var Icon = React.createClass({
// handle multi path icons which appear as non strings
if(typeof(iconPath) != 'string') {
// create a path for each path present
path = ICON_PATHS.map(function (path) {
path = iconPath.map(function (path) {
return (<path d={path} /> );
});
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment