mirror of
https://github.com/flarum/framework.git
synced 2025-05-26 00:29:59 +08:00
Ensure we make a new separator
This commit is contained in:
@ -87,7 +87,7 @@ export default function(app) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.canDelete()) {
|
if (this.canDelete()) {
|
||||||
items.add('separator', Separator.component());
|
items.add('separator2', Separator.component());
|
||||||
|
|
||||||
items.add('delete', ActionButton.component({ icon: 'times', label: 'Delete', onclick: this.deleteAction.bind(this) }));
|
items.add('delete', ActionButton.component({ icon: 'times', label: 'Delete', onclick: this.deleteAction.bind(this) }));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user