1
0
mirror of https://github.com/flarum/core.git synced 2025-05-31 11:39:56 +02:00

Recompile dist JavaScript

This commit is contained in:
Franz Liedke 2017-05-18 09:14:06 +02:00
parent 7c86f7a34c
commit 1af1f472f9
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4

View File

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