diff --git a/extensions/suspend/composer.json b/extensions/suspend/composer.json index 4da7e886f..ef0ed66cc 100644 --- a/extensions/suspend/composer.json +++ b/extensions/suspend/composer.json @@ -29,7 +29,7 @@ "flarum-extension": { "title": "Suspend", "icon": { - "name": "fa fa-ban", + "name": "fas fa-ban", "backgroundColor": "#ddd", "color": "#666" } diff --git a/extensions/suspend/js/admin/src/main.js b/extensions/suspend/js/admin/src/main.js index 3eaf10cad..87b9e41fd 100644 --- a/extensions/suspend/js/admin/src/main.js +++ b/extensions/suspend/js/admin/src/main.js @@ -5,7 +5,7 @@ import PermissionGrid from 'flarum/components/PermissionGrid'; app.initializers.add('suspend', () => { extend(PermissionGrid.prototype, 'moderateItems', items => { items.add('suspendUsers', { - icon: 'fa fa-ban', + icon: 'fas fa-ban', label: app.translator.trans('flarum-suspend.admin.permissions.suspend_users_label'), permission: 'user.suspend' }); diff --git a/extensions/suspend/js/forum/src/main.js b/extensions/suspend/js/forum/src/main.js index e89ba1d52..173605220 100644 --- a/extensions/suspend/js/forum/src/main.js +++ b/extensions/suspend/js/forum/src/main.js @@ -16,7 +16,7 @@ app.initializers.add('flarum-suspend', () => { if (user.canSuspend()) { items.add('suspend', Button.component({ children: app.translator.trans('flarum-suspend.forum.user_controls.suspend_button'), - icon: 'fa fa-ban', + icon: 'fas fa-ban', onclick: () => app.modal.show(new SuspendUserModal({user})) })); } @@ -27,7 +27,7 @@ app.initializers.add('flarum-suspend', () => { if (new Date() < until) { items.add('suspended', Badge.component({ - icon: 'fa fa-ban', + icon: 'fas fa-ban', type: 'suspended', label: app.translator.trans('flarum-suspend.forum.user_badge.suspended_tooltip') }));