UX: The delete button is also a dropdown
This commit is contained in:
parent
330912e1e5
commit
95e0aa059c
|
@ -103,7 +103,9 @@
|
||||||
icon="external-link"
|
icon="external-link"
|
||||||
label="admin.flags.ignore_flag"}}
|
label="admin.flags.ignore_flag"}}
|
||||||
|
|
||||||
{{admin-delete-flag-dropdown post=flaggedPost removeAfter=(action "removeAfter")}}
|
{{admin-delete-flag-dropdown
|
||||||
|
post=flaggedPost
|
||||||
|
removeAfter=(action "removeAfter")}}
|
||||||
|
|
||||||
{{#unless suspended}}
|
{{#unless suspended}}
|
||||||
{{d-button
|
{{d-button
|
||||||
|
|
|
@ -9,7 +9,7 @@ export default DropdownSelectBox.extend({
|
||||||
|
|
||||||
computeHeaderContent() {
|
computeHeaderContent() {
|
||||||
let content = this.baseHeaderComputedContent();
|
let content = this.baseHeaderComputedContent();
|
||||||
content.name = I18n.t("admin.flags.delete");
|
content.name = `${I18n.t("admin.flags.delete")}...`;
|
||||||
return content;
|
return content;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue