mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 16:52:12 +08:00
Separate icon from notification grid labels
This commit is contained in:
parent
ebf7c78969
commit
eec37dece1
@ -74,7 +74,7 @@ export default class NotificationGrid extends Component {
|
||||
{this.types.map(type => (
|
||||
<tr>
|
||||
<td className="NotificationGrid-groupToggle" onclick={this.toggleType.bind(this, type.name)}>
|
||||
{type.label}
|
||||
{icon(type.icon)} {type.label}
|
||||
</td>
|
||||
{this.methods.map(method => (
|
||||
<td className="NotificationGrid-checkbox">
|
||||
@ -181,7 +181,8 @@ export default class NotificationGrid extends Component {
|
||||
|
||||
items.add('discussionRenamed', {
|
||||
name: 'discussionRenamed',
|
||||
label: [icon('pencil'), ' ', app.trans('core.notify_discussion_renamed')]
|
||||
icon: 'pencil',
|
||||
label: app.trans('core.notify_discussion_renamed')
|
||||
});
|
||||
|
||||
return items;
|
||||
|
Loading…
x
Reference in New Issue
Block a user