mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
fix the build
This commit is contained in:
parent
3bae2cca4d
commit
7602353209
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ export default Em.ObjectController.extend({
|
|||
},
|
||||
|
||||
removeMember(member) {
|
||||
const message = I18n.t("admin.groups.delete_member_confirm", { username: member.get("username"), group: this.get("name") });
|
||||
const self = this,
|
||||
message = I18n.t("admin.groups.delete_member_confirm", { username: member.get("username"), group: this.get("name") });
|
||||
return bootbox.confirm(message, I18n.t("no_value"), I18n.t("yes_value"), function(confirm) {
|
||||
if (confirm) {
|
||||
self.get("model").removeMember(member);
|
||||
|
|
Loading…
Reference in a new issue