FIX: 🐛 show email button wasn't working on user's profile page

This commit is contained in:
Régis Hanol 2015-01-15 17:58:50 +01:00
parent 14ea59b623
commit beea92a74b
2 changed files with 2 additions and 2 deletions

View File

@ -26,6 +26,6 @@ export default Ember.Component.extend({
},
click: function() {
this.sendAction();
this.sendAction("action", this.get("actionParam"));
}
});

View File

@ -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}}