Add icon to notification preferences

This commit is contained in:
Toby Zerner 2015-05-06 08:33:12 +09:30
parent 600e56d16a
commit 5ed1a082f1

View File

@ -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;