mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 01:44:00 +08:00
Ensure we make a new separator
This commit is contained in:
parent
525af6f168
commit
24eabb1bb3
|
@ -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) }));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user