mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 18:39:39 +08:00
Update ItemList API
This commit is contained in:
parent
50645c5db9
commit
7db94e6bc5
@ -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';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user