mirror of
https://github.com/flarum/core.git
synced 2025-05-08 08:25:29 +02:00
Add a separator above the delete control
This commit is contained in:
parent
5b6f86320d
commit
40c9c7ef59
@ -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…
x
Reference in New Issue
Block a user