1
0
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:
Toby Zerner 2015-06-12 16:40:57 +09:30
parent 5b6f86320d
commit 40c9c7ef59

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