1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 18:21:33 +02:00

Add a separator above the delete control

This commit is contained in:
Toby Zerner
2015-06-12 16:40:57 +09:30
parent 4286243b75
commit 42f7d61a49

View File

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