Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

fix(icon): default icon bug fixed #137

Merged
merged 2 commits into from
Mar 26, 2018

Conversation

sanbornsen
Copy link
Contributor

@sanbornsen sanbornsen commented Mar 24, 2018

When any icon type does not exist in our icon map it should go for the default icon type to show the default icon and color.
It was codded correct, but in the else part where it actually should take the default color, it was trying to fetch color from IconMap[this.iconType].color where IconMap[this.iconType] is undefined.

@joshuawilson
Copy link
Contributor

What is the bug that this fixes? Please add context for review.

@joshuawilson
Copy link
Contributor

[test]

@joshuawilson joshuawilson merged commit 93847e3 into fabric8-ui:master Mar 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants