mirror of
https://github.com/flarum/framework.git
synced 2025-06-05 23:44:34 +08:00
Update ItemList API
This commit is contained in:
@ -55,8 +55,8 @@ export default function() {
|
||||
|
||||
const controls = PostControls.destructiveControls(this.props.post);
|
||||
|
||||
Object.keys(controls).forEach(k => {
|
||||
const props = controls[k].content.props;
|
||||
Object.keys(controls.items).forEach(k => {
|
||||
const props = controls.get(k).props;
|
||||
|
||||
props.className = 'Button';
|
||||
|
||||
|
Reference in New Issue
Block a user