mirror of
https://github.com/flarum/core.git
synced 2025-07-18 07:11:17 +02:00
Recompile dist JavaScript
This commit is contained in:
4
framework/core/js/forum/dist/app.js
vendored
4
framework/core/js/forum/dist/app.js
vendored
@@ -32918,13 +32918,13 @@ System.register('flarum/utils/UserControls', ['flarum/components/Button', 'flaru
|
||||
}],
|
||||
execute: function () {
|
||||
_export('default', {
|
||||
controls: function controls(discussion, context) {
|
||||
controls: function controls(user, context) {
|
||||
var _this = this;
|
||||
|
||||
var items = new ItemList();
|
||||
|
||||
['user', 'moderation', 'destructive'].forEach(function (section) {
|
||||
var controls = _this[section + 'Controls'](discussion, context).toArray();
|
||||
var controls = _this[section + 'Controls'](user, context).toArray();
|
||||
if (controls.length) {
|
||||
controls.forEach(function (item) {
|
||||
return items.add(item.itemName, item);
|
||||
|
Reference in New Issue
Block a user