mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:02:44 +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 FieldSet from 'flarum/components/field-set';
|
||||||
import NotificationGrid from 'flarum/components/notification-grid';
|
import NotificationGrid from 'flarum/components/notification-grid';
|
||||||
import listItems from 'flarum/helpers/list-items';
|
import listItems from 'flarum/helpers/list-items';
|
||||||
|
import icon from 'flarum/helpers/icon';
|
||||||
|
|
||||||
export default class SettingsPage extends UserPage {
|
export default class SettingsPage extends UserPage {
|
||||||
/**
|
/**
|
||||||
|
@ -118,7 +119,7 @@ export default class SettingsPage extends UserPage {
|
||||||
|
|
||||||
items.add('discussionRenamed', {
|
items.add('discussionRenamed', {
|
||||||
name: 'discussionRenamed',
|
name: 'discussionRenamed',
|
||||||
label: 'Someone renames a discussion I started'
|
label: [icon('pencil'), ' Someone renames a discussion I started']
|
||||||
});
|
});
|
||||||
|
|
||||||
return items;
|
return items;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user