mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Add icon to notification preferences
This commit is contained in:
parent
600e56d16a
commit
5ed1a082f1
|
@ -5,6 +5,7 @@ import ActionButton from 'flarum/components/action-button';
|
|||
import FieldSet from 'flarum/components/field-set';
|
||||
import NotificationGrid from 'flarum/components/notification-grid';
|
||||
import listItems from 'flarum/helpers/list-items';
|
||||
import icon from 'flarum/helpers/icon';
|
||||
|
||||
export default class SettingsPage extends UserPage {
|
||||
/**
|
||||
|
@ -118,7 +119,7 @@ export default class SettingsPage extends UserPage {
|
|||
|
||||
items.add('discussionRenamed', {
|
||||
name: 'discussionRenamed',
|
||||
label: 'Someone renames a discussion I started'
|
||||
label: [icon('pencil'), ' Someone renames a discussion I started']
|
||||
});
|
||||
|
||||
return items;
|
||||
|
|
Loading…
Reference in New Issue
Block a user