mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00
Update a couple buttons to use correct markup (#11926)
This commit is contained in:
@ -22,6 +22,13 @@ export default Controller.extend(ModalFunctionality, {
|
||||
});
|
||||
},
|
||||
|
||||
@discourseComputed("username")
|
||||
mergeButtonText(username) {
|
||||
return I18n.t(`admin.user.merge.confirmation.transfer_and_delete`, {
|
||||
username,
|
||||
});
|
||||
},
|
||||
|
||||
@discourseComputed("value", "text")
|
||||
mergeDisabled(value, text) {
|
||||
return !value || text !== value;
|
||||
|
Reference in New Issue
Block a user