mirror of
https://github.com/flarum/core.git
synced 2025-08-09 18:07:02 +02:00
Add missing Button-label span from ButtonLink (#113)
Every sideNav item created by flarum/core includes this span, so tags should too.
This commit is contained in:
@@ -20,7 +20,9 @@ export default class TagLinkButton extends LinkButton {
|
||||
style={active && tag ? {color: tag.color()} : ''}
|
||||
title={description || ''}>
|
||||
{tagIcon(tag, {className: 'Button-icon'})}
|
||||
{tag ? tag.name() : app.translator.trans('flarum-tags.forum.index.untagged_link')}
|
||||
<span className="Button-label">
|
||||
{tag ? tag.name() : app.translator.trans('flarum-tags.forum.index.untagged_link')}
|
||||
</span>
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user