mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 10:15:49 +08:00
FIX: 🐛 show email button wasn't working on user's profile page
This commit is contained in:
parent
14ea59b623
commit
beea92a74b
|
@ -26,6 +26,6 @@ export default Ember.Component.extend({
|
|||
},
|
||||
|
||||
click: function() {
|
||||
this.sendAction();
|
||||
this.sendAction("action", this.get("actionParam"));
|
||||
}
|
||||
});
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
{{#if email}}
|
||||
{{email}}
|
||||
{{else}}
|
||||
{{d-button action="checkEmail" icon="envelope-o" label="admin.users.check_email.text" class="btn-primary"}}
|
||||
{{d-button action="checkEmail" actionParam=model icon="envelope-o" label="admin.users.check_email.text" class="btn-primary"}}
|
||||
{{/if}}
|
||||
</dd>
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user