-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add wearable utility #3096
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Pull Request Test Coverage Report for Build 8944350089Details
💛 - Coveralls |
…d-wearable-utility
@@ -28,6 +30,7 @@ export default class ItemImage extends React.PureComponent<Props> { | |||
<RarityBadge className="rarity-badge" rarity={item.rarity} size="medium" withTooltip /> | |||
) : null} | |||
{hasBadge ? <ItemBadge item={item} size={badgeSize} /> : null} | |||
{hasUtilityBadge ? <IconBadge text={t('global.utility')} icon="utility" /> : null} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{hasUtilityBadge ? <IconBadge text={t('global.utility')} icon="utility" /> : null} | |
{hasUtilityBadge && !!item.utility ? <IconBadge text={t('global.utility')} icon="utility" /> : null} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed it, good catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 🚀
This PR adds the wearable utility property to the items. Items can now be saved with this property that will be later shown in the Marketplace.