mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 21:11:55 +08:00
Update permission icon for consistency
This commit is contained in:
parent
1629e7fbb4
commit
9661e05c83
2
extensions/tags/js/admin/dist/extension.js
vendored
2
extensions/tags/js/admin/dist/extension.js
vendored
|
@ -420,7 +420,7 @@ System.register('flarum/tags/addTagChangePermission', ['flarum/extend', 'flarum/
|
|||
_export('default', function () {
|
||||
extend(PermissionGrid.prototype, 'startItems', function (items) {
|
||||
items.add('allowTagChange', {
|
||||
icon: 'tags',
|
||||
icon: 'tag',
|
||||
label: app.translator.trans('flarum-tags.admin.permissions.allow_edit_tags_label'),
|
||||
setting: function setting() {
|
||||
var minutes = parseInt(app.data.settings.allow_tag_change, 10);
|
||||
|
|
|
@ -5,7 +5,7 @@ import SettingDropdown from 'flarum/components/SettingDropdown';
|
|||
export default function() {
|
||||
extend(PermissionGrid.prototype, 'startItems', items => {
|
||||
items.add('allowTagChange', {
|
||||
icon: 'tags',
|
||||
icon: 'tag',
|
||||
label: app.translator.trans('flarum-tags.admin.permissions.allow_edit_tags_label'),
|
||||
setting: () => {
|
||||
const minutes = parseInt(app.data.settings.allow_tag_change, 10);
|
||||
|
|
Loading…
Reference in New Issue
Block a user