mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Add a separator above the delete control
This commit is contained in:
parent
4286243b75
commit
42f7d61a49
|
@ -87,6 +87,8 @@ export default function(app) {
|
|||
}
|
||||
|
||||
if (this.canDelete()) {
|
||||
items.add('separator', Separator.component());
|
||||
|
||||
items.add('delete', ActionButton.component({ icon: 'times', label: 'Delete', onclick: this.deleteAction.bind(this) }));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user